Skip to content

Commit b5f3df8

Browse files
committed
Made old code the same
1 parent a27be65 commit b5f3df8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/normalized/ExecutableNormalizedOperationFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ public CollectNFResult collectFromMergedField(ExecutableNormalizedField executab
563563
if (fieldAndAstParent.field.getSelectionSet() == null) {
564564
continue;
565565
}
566-
GraphQLFieldDefinition fieldDefinition = Introspection.getFieldDefinition(graphQLSchema, (GraphQLFieldsContainer) fieldAndAstParent.astParentType, fieldAndAstParent.field.getName());
566+
GraphQLFieldDefinition fieldDefinition = Introspection.getFieldDef(graphQLSchema, fieldAndAstParent.astParentType, fieldAndAstParent.field.getName());
567567
GraphQLUnmodifiedType astParentType = unwrapAll(fieldDefinition.getType());
568568
this.collectFromSelectionSet(fieldAndAstParent.field.getSelectionSet(),
569569
collectedFields,

0 commit comments

Comments
 (0)