Skip to content

build: upgrade to GraphQL Java 16.1 #33

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

Merged
merged 1 commit into from
Feb 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ repositories {


dependencies {
compile "com.graphql-java:graphql-java:15.0"
compile "com.squareup.okhttp3:okhttp:3.2.0"
compile "com.graphql-java:graphql-java:16.1"
compile "com.squareup.okhttp3:okhttp:3.14.9"

testCompile 'org.spockframework:spock-core:1.1-groovy-2.4'
testCompile 'org.codehaus.groovy:groovy-all:2.4.13'
Expand Down
16 changes: 13 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,26 @@ You would use custom scalars when you want to describe more meaningful behavior

To use this library put the following into your gradle config

compile 'com.graphql-java:graphql-java-extended-scalars:1.0'
compile 'com.graphql-java:graphql-java-extended-scalars:16.0.0'

or the following into your Maven config

<dependency>
<groupId>com.graphql-java</groupId>
<artifactId>graphql-java-extended-scalars</artifactId>
<version>1.0</version>
<version>16.0.0</version>
</dependency>


> Note:
>
> use 1.0.1 or above for graphql-java 14.x and above
>
> use 15.0.0 or above for graphql-java 15.x and above
>
> use 16.0.0 or above for graphql-java 16.x and above
Copy link

Choose a reason for hiding this comment

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

Seems sensible, though the developers may choose to go with a slightly different version numbering - to avoid users picking up graphql-java 16.0

This is one of my first interactions with this project, so don't take my opinion has carrying any weight.


Its currently available from JCenter repo and Maven central.

Then register the scalar with graphql-java

RuntimeWiring.newRuntimeWiring().scalar(ExtendedScalars.DateTime)
Expand Down