oliyh / locksmith

Want to use GraphQL with Clojure/script but don't want keBab or snake_keys everywhere? Use locksmith to change all the keys!
61 stars 2 forks source link

Support CamelCase types and field names #6

Closed devurandom closed 5 years ago

devurandom commented 5 years ago

It seems not uncommon in the GraphQL community to use camelCase for field names or CamelCase for types (see e.g. https://graphql.github.io/learn/queries/ and https://graphql.github.io/learn/schema/). Will this be supported in locksmith as another option and alternative to snake_keys?

oliyh commented 5 years ago

Hi,

Yes that is a perfectly reasonable feature, I am a bit surprised at myself for only implementing this for snake keys. It may need a bit of work though!