Skip to content

Commit f8c1e76

Browse files
authored
Update to graphql-java 24 (#112)
1 parent 999d445 commit f8c1e76

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ repositories {
4040
}
4141

4242
dependencies {
43-
api "com.graphql-java:graphql-java:22.0"
43+
api "com.graphql-java:graphql-java:24.0"
4444
api "com.graphql-java:graphql-java-extended-scalars:22.0"
4545
api "org.hibernate.validator:hibernate-validator:7.0.1.Final"
4646
api "org.glassfish:jakarta.el:4.0.2"

src/main/java/graphql/validation/rules/ValidationRules.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public List<ValidationRule> getRulesFor(GraphQLFieldDefinition fieldDefinition,
9797
* @return a list of zero or more input data validation errors
9898
*/
9999
public List<GraphQLError> runValidationRules(DataFetchingEnvironment env) {
100-
GraphQLFieldsContainer fieldsContainer = env.getExecutionStepInfo().getFieldContainer();
100+
GraphQLFieldsContainer fieldsContainer = env.getExecutionStepInfo().getObjectType();
101101
GraphQLFieldDefinition fieldDefinition = env.getFieldDefinition();
102102

103103
MessageInterpolator messageInterpolator = this.getMessageInterpolator();

0 commit comments

Comments
 (0)