From 63e7a70779e41f31824e39f6c2075bfd1aa64227 Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Mon, 4 Jun 2018 17:06:48 +0300 Subject: [PATCH] Add validation steps for schema extensions --- spec/Section 3 -- Type System.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spec/Section 3 -- Type System.md b/spec/Section 3 -- Type System.md index fae28e6d5..c2243f0fe 100644 --- a/spec/Section 3 -- Type System.md +++ b/spec/Section 3 -- Type System.md @@ -160,6 +160,13 @@ Schema extensions are used to represent a schema which has been extended from an original schema. For example, this might be used by a GraphQL service which adds additional operation types, or additional directives to an existing schema. +**Schema Validation** + +Schema extensions have the potential to be invalid if incorrectly defined. + +1. The Schema must already be defined. +2. Any directives provided must not already apply to the original Schema. + ## Descriptions