Is it possible to configure Dgraph to generate snake case resolvers?
The documentation uses snake case:
However, the resolvers that are generated are camelCase, meaning that my snake case predicates get mixed with camel case resolvers:
Guess I need to change everything back to camel case??
EDIT: I did some research on this, some documentation insists that GraphQL is meant to be camelCase, but there are mainstream GraphQL engines that use snake_case. Hasura for example.
Hasura has recently released a feature that allows you to choose which casing you want: https://www.youtube.com/watch?v=9pUeR3EeYUU
GraphQL Ruby (used by Gitlab) uses camelCase in the schema, but converts it to snake_case at runtime: GraphQL - Objects
Absinthe (Elixir GraphQL library has logic that transforms snake_case into camelCase)