gqlify icon indicating copy to clipboard operation
gqlify copied to clipboard

Support more operators

Open wwwy3y3 opened this issue 6 years ago • 0 comments

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.

wwwy3y3 avatar Feb 22 '19 12:02 wwwy3y3