Custom type don't show all possible filters in GraphQL Api
In my project I have the following type:
I use it inside a resource like this:
The issue I'm having is that now I can't see all the default filters that AshGraphQL generate for built-in supported fields.
So, in this case, AshGraphQL will generate a
So, the question is, what is the correct approach to implement or make these filters available for custom types?
I use it inside a resource like this:
The issue I'm having is that now I can't see all the default filters that AshGraphQL generate for built-in supported fields.
So, in this case, AshGraphQL will generate a
PropertyFilterPrice type which only have a isNil option, where, before, then that field was a :decimal, it would show a bunch of filter options like eq, greaterThan, greaterThanOrEqual, in, etc.So, the question is, what is the correct approach to implement or make these filters available for custom types?
