From 996e6220a2149032c5791196c92199e34ac1b300 Mon Sep 17 00:00:00 2001 From: Benjamin Turner Date: Thu, 28 Feb 2019 11:49:58 -0500 Subject: [PATCH] allow directives on directive definitions --- spec/Section 3 -- Type System.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/Section 3 -- Type System.md b/spec/Section 3 -- Type System.md index 9677a17f4..af22ddce8 100644 --- a/spec/Section 3 -- Type System.md +++ b/spec/Section 3 -- Type System.md @@ -1607,7 +1607,7 @@ Expected Type | Internal Value | Coerced Result ## Directives -DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? on DirectiveLocations +DirectiveDefinition : Description? directive @ Name ArgumentsDefinition? on DirectiveLocations Directives[Const]? DirectiveLocations : - `|`? DirectiveLocation @@ -1639,6 +1639,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