Skip to content

suggestions for executable definitions PR#1

Closed
yaacovCR wants to merge 2 commits intofotoetienne:executableDescriptions2025from
yaacovCR:suggestions
Closed

suggestions for executable definitions PR#1
yaacovCR wants to merge 2 commits intofotoetienne:executableDescriptions2025from
yaacovCR:suggestions

Conversation

@yaacovCR
Copy link
Copy Markdown

see: graphql#4430

first commit is just to reduce diff with graphql-js/16.x.x i.e. the overall PR diff, while preserving full code coverage

second commit tweaks response to the feedback on that PR (graphql#4430 (comment))

i.e. the behavior when there is an unexpected description preceding an unexpected keyword. The existing behavior on 16.x.x is to surface the error for the description, which occurs first, this tweak preserves that behavior, adding a test.

yaacovCR added 2 commits July 22, 2025 15:33
1. consolidate some logic
2. ensure that the "unexpected description" error for unknown keywords surfaces rather than the "unexpected keyword" error itself, as the description occurs first!
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.

1 participant