Skip to content

Commit 0fafe62

Browse files
authored
Merge pull request #261 from Enigmatis/release-8.2
Release 8.2
2 parents 7ee1980 + 27db5f6 commit 0fafe62

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ If you would like to use a tool that creates a graphql spring boot server using
3737

3838
```groovy
3939
dependencies {
40-
compile "io.github.graphql-java:graphql-java-annotations:8.1"
40+
compile "io.github.graphql-java:graphql-java-annotations:8.2"
4141
}
4242
```
4343

@@ -47,7 +47,7 @@ dependencies {
4747
<dependency>
4848
<groupId>io.github.graphql-java</groupId>
4949
<artifactId>graphql-java-annotations</artifactId>
50-
<version>8.1</version>
50+
<version>8.2</version>
5151
</dependency>
5252
```
5353

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ gradle.projectsEvaluated {
5656

5757
dependencies {
5858
compile 'javax.validation:validation-api:1.1.0.Final'
59-
compile 'com.graphql-java:graphql-java:14.0'
59+
compile 'com.graphql-java:graphql-java:15.0'
6060

6161
// OSGi
6262
compileOnly 'org.osgi:org.osgi.core:6.0.0'

gradle.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ org.gradle.daemon=true
55
org.gradle.parallel=true
66
org.gradle.jvmargs=-Dfile.encoding=UTF-8
77

8-
version = 8.1
8+
version = 8.2

src/main/java/graphql/annotations/strategies/EnhancedExecutionStrategy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ protected FieldValueInfo completeValue(ExecutionContext executionContext, Execut
7373
graphql.schema.GraphQLType fieldType = parameters.getExecutionStepInfo().getType();
7474
Object result = parameters.getSource();
7575
if (result instanceof Enum && fieldType instanceof GraphQLEnumType) {
76-
Object value = ((GraphQLEnumType) fieldType).getCoercing().parseValue(((Enum) result).name());
76+
Object value = ((GraphQLEnumType) fieldType).parseValue(((Enum) result).name());
7777
return super.completeValue(executionContext, withSource(parameters, value));
7878
}
7979
if (result instanceof Optional) {

0 commit comments

Comments
 (0)