gqlify
gqlify copied to clipboard
Support more operators
Is your feature request related to a problem? Please describe.
We should support more operator like comparator for Int, contains for string.
Ref: https://www.opencrud.org/#sec-Data-types
Describe the solution you'd like Based on the field type, we create a different comparator for it. Ref: https://github.com/Canner/gqlify/blob/master/packages/gqlify/src/plugins/whereInput.ts#L91-L111
With more and more operators on api, data-source without too much API field might have some problem dealing with it.
Additional context
We should also think about how comparator should be added for custom scalar like DateTime.