Upgrade to GraphQL Java 22.1
Closes gh-975
This commit is contained in:
@@ -3,7 +3,7 @@ description = "Spring for GraphQL"
|
||||
ext {
|
||||
moduleProjects = [project(":spring-graphql"), project(":spring-graphql-test")]
|
||||
springFrameworkVersion = "6.1.6"
|
||||
graphQlJavaVersion = "22.0"
|
||||
graphQlJavaVersion = "22.1"
|
||||
springBootVersion = "3.2.2"
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2023 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -159,6 +159,7 @@ class AutoRegistrationRuntimeWiringConfigurer implements RuntimeWiringConfigurer
|
||||
objectType.getField("edges") != null && objectType.getField("pageInfo") != null);
|
||||
}
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private boolean hasDataFetcherFor(FieldDefinition fieldDefinition) {
|
||||
if (this.existingQueryDataFetcherPredicate == null) {
|
||||
Map<String, ?> map = this.builder.build().getDataFetcherForType("Query");
|
||||
|
||||
Reference in New Issue
Block a user