Skip to content

Do not exclude schema keyword if schema has description #1167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

benjie
Copy link
Member

@benjie benjie commented May 19, 2025

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

@benjie benjie added the 💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md) label May 19, 2025
Copy link

netlify bot commented May 19, 2025

Deploy Preview for graphql-spec-draft ready!

Name Link
🔨 Latest commit c11671d
🔍 Latest deploy log https://app.netlify.com/projects/graphql-spec-draft/deploys/682aee1d3c48460008ad447c
😎 Deploy Preview https://deploy-preview-1167--graphql-spec-draft.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💭 Strawman (RFC 0) RFC Stage 0 (See CONTRIBUTING.md)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants