diff --git a/spec/Appendix B -- Grammar Summary.md b/spec/Appendix B -- Grammar Summary.md index 01c900a3f..7886b1741 100644 --- a/spec/Appendix B -- Grammar Summary.md +++ b/spec/Appendix B -- Grammar Summary.md @@ -320,7 +320,7 @@ InputObjectTypeExtension : - extend input Name Directives[Const]? InputFieldsDefinition - extend input Name Directives[Const] [lookahead != `{`] -DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? `repeatable`? on DirectiveLocations +DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? `repeatable`? on DirectiveLocations Directives? DirectiveLocations : - DirectiveLocations | DirectiveLocation @@ -352,3 +352,4 @@ TypeSystemDirectiveLocation : one of - `ENUM_VALUE` - `INPUT_OBJECT` - `INPUT_FIELD_DEFINITION` + - `DIRECTIVE_DEFINITION` diff --git a/spec/Section 3 -- Type System.md b/spec/Section 3 -- Type System.md index d164550cc..e230b303d 100644 --- a/spec/Section 3 -- Type System.md +++ b/spec/Section 3 -- Type System.md @@ -1838,7 +1838,7 @@ Expected Type | Internal Value | Coerced Result ## Directives -DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? `repeatable`? on DirectiveLocations +DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? `repeatable`? on DirectiveLocations Directives? DirectiveLocations : - DirectiveLocations | DirectiveLocation @@ -1870,6 +1870,7 @@ TypeSystemDirectiveLocation : one of - `ENUM_VALUE` - `INPUT_OBJECT` - `INPUT_FIELD_DEFINITION` + - `DIRECTIVE_DEFINITION` A GraphQL schema describes directives which are used to annotate various parts of a GraphQL document as an indicator that they should be evaluated differently diff --git a/spec/Section 4 -- Introspection.md b/spec/Section 4 -- Introspection.md index 9adb20b94..1fa05a317 100644 --- a/spec/Section 4 -- Introspection.md +++ b/spec/Section 4 -- Introspection.md @@ -214,6 +214,7 @@ enum __DirectiveLocation { ENUM_VALUE INPUT_OBJECT INPUT_FIELD_DEFINITION + DIRECTIVE_DEFINITION } ```