kgoggin / reason-react-apollo

Reason Bindings For Apollo's React API
https://reason-react-apollo.kylegoggin.com
MIT License
24 stars 1 forks source link

Input object field names shouldn't get sanitized. #8

Closed kgoggin closed 5 years ago

kgoggin commented 5 years ago

We have to sanitize input type field names when using them as arguments, because type as an argument (for example) isn't valid syntax. But currently we're also sanitizing the field itself in the generated input object, which is no good.