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

Update graphql-java-servlet to support graphql-java 16. #285

Merged
merged 4 commits into from Dec 20, 2020

Conversation

artem-ag
Copy link
Contributor

Fixes #280

This is a breaking change that makes library incompatible with prior versions of graphql-java:

  • @defer directive support is gone.
  • Query type has to have at least 1 field defined for the schema to be valid.

This is a breaking change that makes library incompatible with prior versions of graphql-java.
@artem-ag
Copy link
Contributor Author

@oliemansm Could you please advise on why Mac OS run fail and whether it's ok? Seem transient, but I can't repro locally. Also, could you please review this PR?

@oliemansm
Copy link
Member

@BlasiusSecundus Do you have any idea why builds sometimes fail and sometimes succeed by any chance? Can't find any clear cause for this from the logs, and often it's MacOS that's failing.

@BlasiusSecundus
Copy link

If it is consistently macOS only, possibly this is the cause: actions/runner-images#2247

@oliemansm
Copy link
Member

Seem to be quite a lot of users having this problem: actions/runner-images#841.

@BlasiusSecundus
Copy link

I'd say it is best to wait until GitHub finishes the macOS maintenance (should be today sometimes), then try again.

Copy link
Member

@oliemansm oliemansm left a comment

Choose a reason for hiding this comment

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

Looks good overall. The only change is to upgrade to 16.1 instead of 16.0, because of a bug in that version. See also: https://github.com/graphql-java/graphql-java/releases/tag/v16.0.

Once that's changed I'll first release a bugfix version of this library supporting graphql-java 15.0 and will immediately after release this one. Hopefully I'm able to do all this early next week.

@@ -7,8 +7,9 @@ PROJECT_LICENSE=MIT
PROJECT_LICENSE_URL=https://github.com/graphql-java-kickstart/spring-boot-graphql/blob/master/LICENSE.md
PROJECT_DEV_ID=apottere
PROJECT_DEV_NAME=Andrew Potter
LIB_GRAPHQL_JAVA_VER=15.0
LIB_JACKSON_VER=2.10.0
LIB_GRAPHQL_JAVA_VER=16.0
Copy link
Member

Choose a reason for hiding this comment

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

There was a particular bug in version 16.0. Can you upgrade to 16.1 instead?

@oliemansm oliemansm added this to the 11.0.0 milestone Dec 20, 2020
@oliemansm oliemansm merged commit 6941161 into graphql-java-kickstart:master Dec 20, 2020
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.

Graphql-Java 16.0 support
3 participants