Skip to content

Commit a16d249

Browse files
maraisrleebyron
andauthored
State that built-in mandatory directives must be omitted (#816)
* State that built-in mandatory directives must be omitted Following on from #815 (comment), this aims to state that built-in directives must be omitted from the SDL. * Update Section 3 -- Type System.md Co-authored-by: Lee Byron <lee@leebyron.com>
1 parent d4a865a commit a16d249

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spec/Section 3 -- Type System.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1881,6 +1881,10 @@ GraphQL implementations that support the type system definition language should
18811881
provide the `@specifiedBy` directive if representing custom scalar
18821882
definitions.
18831883

1884+
When representing a GraphQL schema using the type system definition language,
1885+
built in directives (any defined in this specification) should be omitted for
1886+
brevity. Custom directives in use must be specified.
1887+
18841888
**Custom Directives**
18851889

18861890
GraphQL services and client tooling may provide additional directives beyond

0 commit comments

Comments
 (0)