Skip to content

Commit 0294d36

Browse files
committed
Update graphql 24.1
1 parent 2027238 commit 0294d36

File tree

4 files changed

+5
-14
lines changed

4 files changed

+5
-14
lines changed

README.md

Lines changed: 2 additions & 2 deletions
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:22.3"
40+
compile "io.github.graphql-java:graphql-java-annotations:24.1"
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>22.3</version>
50+
<version>24.1</version>
5151
</dependency>
5252
```
5353

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ gradle.projectsEvaluated {
5959

6060
dependencies {
6161
implementation 'javax.validation:validation-api:1.1.0.Final'
62-
implementation 'com.graphql-java:graphql-java:22.3'
63-
implementation 'com.graphql-java:graphql-java-extended-scalars:22.0'
62+
implementation 'com.graphql-java:graphql-java:24.1'
63+
implementation 'com.graphql-java:graphql-java-extended-scalars:24.0'
6464
implementation 'javax.xml.bind:jaxb-api:2.3.1'
6565

6666
// OSGi

gradle.properties

Lines changed: 1 addition & 1 deletion
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 = 22.3
8+
version = 24.1

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,6 @@ public class EnhancedExecutionStrategy extends AsyncSerialExecutionStrategy {
2828

2929
private static final String CLIENT_MUTATION_ID = "clientMutationId";
3030

31-
@Override
32-
protected Object resolveField(ExecutionContext executionContext, ExecutionStrategyParameters parameters) {
33-
GraphQLObjectType parentType = (GraphQLObjectType) parameters.getExecutionStepInfo().getUnwrappedNonNullType();
34-
GraphQLFieldDefinition fieldDef = getFieldDef(executionContext.getGraphQLSchema(), parentType, parameters.getField().getSingleField());
35-
if (fieldDef == null) return null;
36-
37-
return super.resolveField(executionContext, parameters);
38-
}
39-
4031
@Override
4132
protected FieldValueInfo completeValue(ExecutionContext executionContext, ExecutionStrategyParameters parameters) throws NonNullableFieldWasNullException {
4233
graphql.schema.GraphQLType fieldType = parameters.getExecutionStepInfo().getType();

0 commit comments

Comments
 (0)