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