Upgrade to GraphQL Java 22.1

Closes gh-975
This commit is contained in:
rstoyanchev
2024-05-21 09:37:22 +01:00
parent 4d2cde83e4
commit 97be2d92e0
2 changed files with 3 additions and 2 deletions

View File

@@ -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"
}

View File

@@ -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");