sogko/graphql-schema-language-cheat-sheet

Directives are not on cheat sheet

joshuadutton opened this issue · 0 comments

Directive declaration definition:
graphql/graphql-js#318

To do:

  • add directive to Type Definitions
  • add a Directive Types section with a declaration and usage examples
  • add a directive declaration (one liner) in the What does it look like? example

Maybe we could get rid of the Input with default value and Input with multiple arguments examples (while keeping the Input with multiple arguments and default values) to make space.

You could include GraphQL supported directives, but it may not be worth the space:

I would be happy to add this myself, but since this is an image, I'm not sure how I would go about that.