At a glance
- Project
- GraphQL Spec
- Identifier
- #1231
- Stage
- RFC 1 / Proposal
- Champion
- @benjie
- Updated
- 2026-09-10
- Latest activity
- Advanced to RFC 1 on
- Source
- Pull request
Pull request 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 by leebyron
- Discussed in GraphQL WG
The GraphQL Working Group meeting began with introductions from attendees including Lee, Benjie from Graphile, James from Airbnb, Martin from Apollo, Pascal and Michael from ChilliCream, Matt from Meta, and Mark from Yelp. Lee announced that the group would conduct a spec freeze before next month's meeting, aiming to complete it by August for the September/October cut. The meeting then moved to reviewing the agenda, which included discussing best practices for writing robust applications, including topics about sibling errors, empty selection sets, interfaces, and schema validation requirements.
Zoom summary · GraphQL WG · 2026-07-02The team discussed allowing empty object types and partial schemas in GraphQL. Leebyron and Benjie proposed adding curly braces to make it clear when defining a type with no fields, while Pascal suggested allowing empty input objects and enums. Matt highlighted the need for clarity in schema evolution and deprecation processes. Benjie emphasized the value of this feature for both LLMs and human users, particularly in mutation payloads and training courses. The group agreed that allowing empty types would improve schema management and validation, with Benjie taking responsibility for updating the GraphQL syntax to support this change.
Zoom summary · GraphQL WG · 2026-07-02The team discussed several proposals related to empty schema definitions, including enums, unions, and interfaces. They agreed to merge these into RFC1, focusing on ensuring that schemas remain valid after removing deprecated elements. The group also approved the GraphQL over HTTP specification, which will be released in September 2026, while the query method in HTTP is planned for GraphQL 1.1. The team decided to proceed with the current specification release without waiting for the query method, as it represents a significant simplification from previous proposals.
Zoom summary · GraphQL WG · 2026-07-02
June 2026
- Marked as Ready for Next Stage on by benjie
- Top comment edited on by benjie
- Pull request created on by benjie
- @benjie committed "Schema with all deprecated elements removed must be valid." on
- Advanced to RFC 0 on by benjie