Skip to content

Commit

Permalink
Upgrade to GraphQL Java 22.1
Browse files Browse the repository at this point in the history
Closes gh-975
  • Loading branch information
rstoyanchev committed May 21, 2024
1 parent 4d2cde8 commit 97be2d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -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.
Expand Down Expand Up @@ -159,6 +159,7 @@ private boolean isConnectionType(GraphQLType type) {
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");
Expand Down

0 comments on commit 97be2d9

Please sign in to comment.