Skip to content

Commit 926e80d

Browse files
authored
Merge pull request #87 from graphql-java/gj-20.0
Update to graphql-java v20
2 parents 6fc5a8c + 6a52ce6 commit 926e80d

File tree

3 files changed

+6
-14
lines changed

3 files changed

+6
-14
lines changed

README.md

+4-12
Original file line numberDiff line numberDiff line change
@@ -18,29 +18,21 @@ You would use custom scalars when you want to describe more meaningful behavior
1818
## How to install
1919
To use this library put the following into your gradle config
2020

21-
implementation 'com.graphql-java:graphql-java-extended-scalars:19.0'
21+
implementation 'com.graphql-java:graphql-java-extended-scalars:20.0'
2222

2323
or the following into your Maven config
2424

2525
<dependency>
2626
<groupId>com.graphql-java</groupId>
2727
<artifactId>graphql-java-extended-scalars</artifactId>
28-
<version>19.0</version>
28+
<version>20.0</version>
2929
</dependency>
3030

3131
> Note:
3232
>
33-
> use 1.0.1 or above for graphql-java 14.x and above
34-
>
35-
> use 15.0.0 or above for graphql-java 15.x and above
36-
>
37-
> use 16.0.0 or above for graphql-java 16.x and above
38-
>
39-
> use 17.0 or above for graphql-java 17.x and above
40-
>
41-
> use 18.0 or above for graphql-java 18.x and above
42-
>
4333
> use 19.0 or above for graphql-java 19.x and above
34+
>
35+
> use 20.0 or above for graphql-java 20.x and above
4436
4537

4638
It's currently available from Maven Central.

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ repositories {
4747

4848

4949
dependencies {
50-
compile "com.graphql-java:graphql-java:19.2"
50+
compile "com.graphql-java:graphql-java:20.0"
5151

5252
testImplementation 'org.spockframework:spock-core:1.3-groovy-2.5'
5353
testImplementation('org.codehaus.groovy:groovy:2.5.13')

src/main/java/graphql/scalars/datetime/DateTimeScalar.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ private OffsetDateTime parseOffsetDateTime(String s, Function<String, RuntimeExc
110110
INSTANCE = GraphQLScalarType.newScalar()
111111
.name("DateTime")
112112
.description("A slightly refined version of RFC-3339 compliant DateTime Scalar")
113-
.specifiedByUrl("https://scalars.graphql.org/andimarek/date-time") // TODO: Change to .specifiedByURL after release of graphql-java v20
113+
.specifiedByUrl("https://scalars.graphql.org/andimarek/date-time") // TODO: Change to .specifiedByURL when builder added to graphql-java
114114
.coercing(coercing)
115115
.build();
116116
}

0 commit comments

Comments
 (0)