-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or requestgraphqlhelp wantedExtra attention is neededExtra attention is needed
Description
Is your feature request related to a problem? Please describe.
Currently you cannot write { input: { filter: { foo: 2}=} in a multi filter. You have to use the _eq operator { input: { filter: { foo: {_eq:2 }}}}.
Describe the solution you'd like
Allow a shortcut syntax for those fields. See the FieldSelector type in packages/graphql/typings.ts, I've commented the native values and only allow a condition.
Describe alternatives you've considered
I think the problem is that you cannot have union types for input in Graphql: it's difficult to accept both an object or a native value as input. To be confirmed.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgraphqlhelp wantedExtra attention is neededExtra attention is needed