Do not exclude schema keyword if schema has description
At a glance​
- Identifier: #1167
- Stage: RFC0: Strawman
- Champion: @benjie
- PR: Do not exclude schema keyword if schema has description
Timeline​
- Added to 2025-06-05 WG agenda
- Spec PR created on 2025-05-19 by benjie
- Commit pushed: Do not exclude schema keyword if schema has description on 2025-05-19 by @benjie
This is a bugfix; previously we said that the
schema
keyword can/should be omitted if the root operation type names line up, but we neglected to think about the schema description. This fixes that.Trivial fix @graphql/tsc
(Discussed as part of #1166, but since there's pushback to the naked schema keyword I'm separating this out into its own standalone fix.)