Skip to content

Commit 97be2d9

Browse files
committed
Upgrade to GraphQL Java 22.1
Closes gh-975
1 parent 4d2cde8 commit 97be2d9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ description = "Spring for GraphQL"
33
ext {
44
moduleProjects = [project(":spring-graphql"), project(":spring-graphql-test")]
55
springFrameworkVersion = "6.1.6"
6-
graphQlJavaVersion = "22.0"
6+
graphQlJavaVersion = "22.1"
77
springBootVersion = "3.2.2"
88
}
99

spring-graphql/src/main/java/org/springframework/graphql/data/query/AutoRegistrationRuntimeWiringConfigurer.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2023 the original author or authors.
2+
* Copyright 2002-2024 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -159,6 +159,7 @@ private boolean isConnectionType(GraphQLType type) {
159159
objectType.getField("edges") != null && objectType.getField("pageInfo") != null);
160160
}
161161

162+
@SuppressWarnings("deprecation")
162163
private boolean hasDataFetcherFor(FieldDefinition fieldDefinition) {
163164
if (this.existingQueryDataFetcherPredicate == null) {
164165
Map<String, ?> map = this.builder.build().getDataFetcherForType("Query");

0 commit comments

Comments
 (0)