Skip to content

Conversation

@phryneas
Copy link

@phryneas phryneas commented Dec 8, 2025

I initially reported this as an LSP error (graphql/graphiql#4138), but turns out it's an error in graphql-js.
image

@phryneas phryneas requested a review from a team as a code owner December 8, 2025 14:52
@vercel
Copy link

vercel bot commented Dec 8, 2025

@phryneas is attempting to deploy a commit to the The GraphQL Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@yaacovCR
Copy link
Contributor

This fixes the current error and maintains the spec comment on the executable definitions PR (https://github.com/graphql/graphql-spec/pull/1170/changes#diff-0f02d73330245629f776bb875e5ca2b30978a716732abca136afdd028d5cd33cR38) where we say that descriptions should have no effect on execution/validation/response.

This seems like the correct change to me, passing a non-string literal will fail parsing, but should have no effect on validation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants