In this PR we fully revamp the casing system so that it no longer indiscriminately snake_cases everything. Now we follow the GraphQL convention of...
PascalCase for object names (including enum names)
camelCase for query names, mutation names and field names
SCREAMING_SNAKE_CASE for enum values
Obviously this has big reverberations and affects a lot of the code base. Almost all the tests needed touching.
The motivation behind the PR is that people on the outside world are exposed to a GraphQL API which is follows the conventions and appears relatively...standard. By snake casing everything we were ignoring the suggested conventions and presented an odd looking API as a result.
The next step is to give Leona users control over exactly which casing is used where. This will appear in a follow-up PR.
In this PR we fully revamp the casing system so that it no longer indiscriminately snake_cases everything. Now we follow the GraphQL convention of...
Obviously this has big reverberations and affects a lot of the code base. Almost all the tests needed touching.
The motivation behind the PR is that people on the outside world are exposed to a GraphQL API which is follows the conventions and appears relatively...standard. By snake casing everything we were ignoring the suggested conventions and presented an odd looking API as a result.
The next step is to give Leona users control over exactly which casing is used where. This will appear in a follow-up PR.