From ac84f6e40186097623662720318cf6d463b725c2 Mon Sep 17 00:00:00 2001 From: Benjie Gillam Date: Wed, 10 Jun 2026 12:33:40 +0200 Subject: [PATCH] Schema with all deprecated elements removed must be valid. --- spec/Section 3 -- Type System.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/spec/Section 3 -- Type System.md b/spec/Section 3 -- Type System.md index 3e1094140..3a4e6af4e 100644 --- a/spec/Section 3 -- Type System.md +++ b/spec/Section 3 -- Type System.md @@ -136,6 +136,9 @@ All types and directives defined within a schema must not have a name which begins with {"\_\_"} (two underscores), as this is used exclusively by GraphQL's introspection system. +If a GraphQL schema contains any deprecated _schema element_, a copy of the +schema that omits all deprecated _schema element_ must itself be valid. + ### Root Operation Types :: A schema defines the initial _root operation type_ for each kind of operation @@ -968,7 +971,6 @@ IsValidImplementation(type, implementedType): 2. Let {implementedFieldType} be the return type of {implementedField}. 3. {IsValidImplementationFieldType(fieldType, implementedFieldType)} must be {true}. - 6. If {field} is deprecated then {implementedField} must also be deprecated. IsValidImplementationFieldType(fieldType, implementedFieldType):