Skip to content

Commit 66bb860

Browse files
committed
move to type system section
1 parent 360c0e4 commit 66bb860

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

spec/Section 2 -- Language.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1095,11 +1095,6 @@ and operations.
10951095
As future versions of GraphQL adopt new configurable execution capabilities,
10961096
they may be exposed via directives.
10971097

1098-
Note: When defining a directive, it is recommended to namespace the directive name
1099-
to prevent name collisions with directives added in future versions of the specification.
1100-
For example, `@fb_auth` directive would represent an authentication directive
1101-
with the prefix `fb` as namespace.
1102-
11031098
**Directive order is significant**
11041099

11051100
Directives may be provided in a specific syntactic order which may have semantic interpretation.

spec/Section 3 -- Type System.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,6 +1661,11 @@ fragment SomeFragment on SomeType {
16611661
}
16621662
```
16631663

1664+
Note: When defining a directive, it is recommended to namespace the directive name
1665+
to prevent name collisions with directives added in future versions of the specification.
1666+
For example, `@fb_auth` directive would represent an authentication directive
1667+
with the prefix `fb` as namespace.
1668+
16641669
Directive locations may be defined with an optional leading `|` character to aid
16651670
formatting when representing a longer list of possible locations:
16661671

0 commit comments

Comments
 (0)