Skip to content

Commit 6030017

Browse files
IvanGoncharovleebyron
authored andcommitted
Add validation steps for schema extensions (#454)
1 parent 8ef03f8 commit 6030017

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spec/Section 3 -- Type System.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ Schema extensions are used to represent a schema which has been extended from
160160
an original schema. For example, this might be used by a GraphQL service which
161161
adds additional operation types, or additional directives to an existing schema.
162162

163+
**Schema Validation**
164+
165+
Schema extensions have the potential to be invalid if incorrectly defined.
166+
167+
1. The Schema must already be defined.
168+
2. Any directives provided must not already apply to the original Schema.
169+
163170

164171
## Descriptions
165172

0 commit comments

Comments
 (0)