Skip to content

Commit 996e622

Browse files
authored
allow directives on directive definitions
1 parent 972f2cb commit 996e622

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

spec/Section 3 -- Type System.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1607,7 +1607,7 @@ Expected Type | Internal Value | Coerced Result
16071607

16081608
## Directives
16091609

1610-
DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? on DirectiveLocations
1610+
DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? on DirectiveLocations Directives[Const]?
16111611

16121612
DirectiveLocations :
16131613
- `|`? DirectiveLocation
@@ -1639,6 +1639,7 @@ TypeSystemDirectiveLocation : one of
16391639
`ENUM_VALUE`
16401640
`INPUT_OBJECT`
16411641
`INPUT_FIELD_DEFINITION`
1642+
`DIRECTIVE_DEFINITION`
16421643

16431644
A GraphQL schema describes directives which are used to annotate various parts
16441645
of a GraphQL document as an indicator that they should be evaluated differently

0 commit comments

Comments
 (0)