Update graphql-java-servlet to support graphql-java 16.#285
Update graphql-java-servlet to support graphql-java 16.#285oliemansm merged 4 commits intographql-java-kickstart:masterfrom
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. |
oliemansm
left a comment
There was a problem hiding this comment.
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
| 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.
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:
@deferdirective support is gone.Querytype has to have at least 1 field defined for the schema to be valid.