-
Notifications
You must be signed in to change notification settings - Fork 100
Open
Description
Directive declaration definition:
graphql/graphql-js#318
To do:
- add
directivetoType Definitions - add a
Directive Typessection 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:
@skipand@include(https://facebook.github.io/graphql/#sec-Type-System.Directives or https://github.com/facebook/graphql/blob/master/spec/Section%203%20--%20Type%20System.md#directives)@depricatedis supported in the reference implementation and should be added to the spec soon (https://github.com/facebook/graphql/blob/rfc-idl/spec/Section%203%20--%20Type%20System.md#directives)
I would be happy to add this myself, but since this is an image, I'm not sure how I would go about that.
pho3nixf1re, sogko and edgar-moran
Metadata
Metadata
Assignees
Labels
No labels