Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update to graphql-java 24
  • Loading branch information
josie-atkins committed Jul 6, 2025
commit b46f4e1a3238890b1cdc8017c209bc9cea2e617e
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repositories {
}

dependencies {
api "com.graphql-java:graphql-java:22.0"
api "com.graphql-java:graphql-java:24.0"
api "com.graphql-java:graphql-java-extended-scalars:22.0"
api "org.hibernate.validator:hibernate-validator:7.0.1.Final"
api "org.glassfish:jakarta.el:4.0.2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public List<ValidationRule> getRulesFor(GraphQLFieldDefinition fieldDefinition,
* @return a list of zero or more input data validation errors
*/
public List<GraphQLError> runValidationRules(DataFetchingEnvironment env) {
GraphQLFieldsContainer fieldsContainer = env.getExecutionStepInfo().getFieldContainer();
GraphQLFieldsContainer fieldsContainer = env.getExecutionStepInfo().getObjectType();
GraphQLFieldDefinition fieldDefinition = env.getFieldDefinition();

MessageInterpolator messageInterpolator = this.getMessageInterpolator();
Expand Down