File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2033,19 +2033,20 @@ directive @invalidExample(arg: String @invalidExample) on ARGUMENT_DEFINITION
2033
2033
Note : The order in which directives appear may be significant , including
2034
2034
repeatable directives .
2035
2035
2036
- **Validation **
2036
+ **Type Validation **
2037
2037
2038
- 1. A directive definition must not contain the use of a directive which
2038
+ 1. A Directive definition must include at least one DirectiveLocation
2039
+ 2. A Directive definition must not contain the use of a Directive which
2039
2040
references itself directly .
2040
- 2 . A directive definition must not contain the use of a directive which
2041
+ 3 . A Directive definition must not contain the use of a Directive which
2041
2042
references itself indirectly by referencing a Type or Directive which
2042
2043
transitively includes a reference to this directive .
2043
- 3 . The directive must not have a name which begins with the characters {"\_\_" }
2044
+ 4 . The Directive must not have a name which begins with the characters {"\_\_" }
2044
2045
(two underscores).
2045
- 4 . For each argument of the directive :
2046
+ 5 . For each argument of the Directive :
2046
2047
1. The argument must not have a name which begins with the characters
2047
2048
{"\_\_" } (two underscores).
2048
- 2. The argument must have a unique name within that directive ; no two
2049
+ 2. The argument must have a unique name within that Directive ; no two
2049
2050
arguments may share the same name .
2050
2051
3. The argument must accept a type where {IsInputType (argumentType)} returns
2051
2052
{true }.
You can’t perform that action at this time.
0 commit comments