Skip to content

fix(coerce-input-value): input object coercion rejects arrays - #4367

Merged
JoviDeCroock merged 3 commits into
graphql:16.x.xfrom
cristunaranjo:fix/4365
Apr 5, 2025
Merged

JoviDeCroock merged 3 commits into
graphql:16.x.xfrom
cristunaranjo:fix/4365

Conversation

@cristunaranjo

Copy link
Copy Markdown
Contributor

This PR closes #4365

Rejects arrays when input type is an object. Works for top level arrays and deep ones.

@cristunaranjo
cristunaranjo requested a review from a team as a code owner April 4, 2025 17:29
@cristunaranjo cristunaranjo changed the title fix(executor): input object coercion rejects arrays fix(coerce-input-value): input object coercion rejects arrays Apr 4, 2025

@JoviDeCroock JoviDeCroock left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great find! Thank you so much

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

Labels

PR: bug fix 🐞 requires increase of "patch" version number

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Input object coercion should reject arrays directly

2 participants