gql-next
gql-next copied to clipboard
Translate names to snake-case
Graphene translates snake-cased python keys to camel-case gql names. gql should do the reverse translation.
I thought about it (Lior also asked) and I don't think I want to do it. I think that when consuming GraphQL its easier to look at the response the same way you'd look at what comes down the wire (and what's written in the docs of the API you're consuming)
As long as pylint (etc) doesn't mind (and I guess it won't, because the code creating this is out-of-scope), it's probably fine.