Skip to content

Code Style Guidelines for GraphQL #269

Open
@buskamuza

Description

@buskamuza

Document code style guidelines for GraphQL schema.
Currently, the following unwritten agreements exist:

  1. quantity should be used, not qty
  2. Camel case SHOULD be used for queries and mutations (root-level fields)
  3. 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)
  4. Upper camel case SHOULD be used for types
  5. 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.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions