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
Update graphql-java-servlet to support graphql-java 16. #285
Conversation
This is a breaking change that makes library incompatible with prior versions of graphql-java.
@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? |
@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. |
If it is consistently macOS only, possibly this is the cause: actions/runner-images#2247 |
Seem to be quite a lot of users having this problem: actions/runner-images#841. |
I'd say it is best to wait until GitHub finishes the macOS maintenance (should be today sometimes), then try again. |
There was a problem hiding this 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.
gradle.properties
Outdated
@@ -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 |
There was a problem hiding this comment.
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?
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.