Skip to content
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

Upgrade to GraphQL Java 18.1 #1033

Merged
merged 1 commit into from May 4, 2022
Merged

Upgrade to GraphQL Java 18.1 #1033

merged 1 commit into from May 4, 2022

Conversation

berngp
Copy link
Contributor

@berngp berngp commented May 4, 2022

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Other (please describe):

Changes in this PR

GraphQL Java 18.1 has an important fix we want to adopt.

This bug fix release contains an important fix
#2773
The latest 18.0 version of graphql-java changed the way raw values are resolved to canonical values.
However this revealed a bug in MaxQueryXXX instrumentation where invalid values (null being present for non nullable input values)
caused an exception rather than generating a graphql error. This is not a behavior we intended.
The bug is only present if you use graphql.analysis.MaxQueryDepthInstrumentation and graphql.analysis.MaxQueryDepthInstrumentation

https://github.com/graphql-java/graphql-java/releases/tag/v18.1

> This bug fix release contains an important fix
> [#2773](graphql-java/graphql-java#2773)
> The latest 18.0 version of graphql-java changed the way raw values are resolved to canonical values.
> However this revealed a bug in MaxQueryXXX instrumentation where invalid values (null being present for non nullable input values)
> caused an exception rather than generating a graphql error. This is not a behavior we intended.
> The bug is only present if you use graphql.analysis.MaxQueryDepthInstrumentation and graphql.analysis.MaxQueryDepthInstrumentation

https://github.com/graphql-java/graphql-java/releases/tag/v18.1
@berngp berngp force-pushed the feature/graphql-java-18.1 branch from 1f551b4 to 28ff6aa Compare May 4, 2022 19:42
@berngp berngp merged commit 0bd898e into master May 4, 2022
@berngp berngp deleted the feature/graphql-java-18.1 branch May 4, 2022 19:56
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.

None yet

2 participants