-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Code Style Guidelines for GraphQL #269
Comments
The most common consumer of a GraphQL API is a browser (i.e., JavaScript). As such, we should conform to JavaScript's patterns and use camel case throughout.
|
What do we do with EAV attributes - they are snake case?
|
@buskamuza 2-5 why SHOULD and not MUST? |
I Agree with you on 3 and 5 GraphQL response fields must be camelCased. |
Document code style guidelines for GraphQL schema.
Currently, the following unwritten agreements exist:
quantity
should be used, notqty
3.1. Investigate if Snake case should be used (in case it's already more widely used than Camel case)
The text was updated successfully, but these errors were encountered: