Open
Description
Document code style guidelines for GraphQL schema.
Currently, the following unwritten agreements exist:
quantity
should be used, notqty
- Camel case SHOULD be used for queries and mutations (root-level fields)
- Camel case SHOULD be used for arguments
3.1. Investigate if Snake case should be used (in case it's already more widely used than Camel case) - Upper camel case SHOULD be used for types
- Snake case SHOULD be used for fields
- Investigate if the above rules make sense or other agreements should be introduced. Document the agreements as guidelines.
- Investigate if any other code style guidelines make sense and document them.