Skip to main content

Do not exclude schema keyword if schema has description

At a glance​

Timeline​


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