RFC 3 / Accepted

Do not exclude schema keyword if schema has description

Opened on2025-05-19
Merged on2025-06-26

At a glance

Spec PR description

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.)

Timeline