graphql / graphql/graphiql

[graphiql] Add "naming conventions" inspections

Open
#4,000 1 comment 1 reaction 0 assignees View on GitHub
enhancement graphiql
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

Naming is always the hardest thing but there are some established conventions for naming in the GraphQL community, see:

* https://benjie.dev/graphql/naming
* https://www.apollographql.com/docs/graphos/schema-design/guides/naming-conventions

Other languages also have their own code style/conventions:

* [Rust](https://doc.rust-lang.org/nightly/style-guide/)
* [Kotlin](https://kotlinlang.org/docs/coding-conventions.html)

Of course everyone is free to have their own preferences but I was thinking it'd be a cool default/guidance for the others. Could there be a setting in GraphiQL for this?

See also https://github.com/graphql/graphql.github.io/issues/2013

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.