At a glance
- Identifier: #1231
- Stage: RFC 1 / Proposal
- Champion: @benjie
- Latest activity: Advanced to RFC 1 on 2026-07-02
- Spec PR: https://github.com/graphql/graphql-spec/pull/1231
Spec PR description
As a precursor to deprecating other schema elements (object types, etc), I figured it would be best to simplify the rule: the schema with all deprecated elements removed should itself be valid. This is a breaking change for servers currently (could mark a previously valid schema as invalid), but solvable in a non-breaking way by removing @deprecated directives, or (once they are supported) adding @deprecated to object types and other positions. It's non-breaking for clients.
This also aligns with #1230 wherein the schema with all deprecated elements removed is represented via { __schema(includeDeprecated: false) { ... } }.
Timeline
July 2026
- Advanced to RFC 1 on 2026-07-02 by leebyron
- Added to WG agenda on 2026-07-02
June 2026
- Marked as Ready for Next Stage on 2026-06-18 by benjie
- Top comment edited on 2026-06-10 by benjie
- Spec PR created on 2026-06-10 by benjie
- @benjie committed "Schema with all deprecated elements removed must be valid." on 2026-06-10
- Advanced to RFC 0 on 2026-06-10 by benjie