Skip to content

Conversation

@dondonz
Copy link
Member

@dondonz dondonz commented Aug 16, 2022

Removing the @fetch directive and the nextgen engine, both were deprecated some time ago.

@dondonz dondonz changed the title Deprecation drive part 1 Remove @fetch and nextgen engine Aug 16, 2022
}


private GraphQLObjectType getOperationRootType(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition) {
Copy link
Member Author

@dondonz dondonz Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved this to a util, it's also used by the ExecutableNormalizedOperationFactory

.normalizedVariables(normalizedVariableValues)
.build();

GraphQLObjectType rootType = Common.getOperationRootType(graphQLSchema, operationDefinition);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was the only reference to nextgen outside of the nextgen files

schemaTraverser.depthFirst(new GraphQLTypeResolvingVisitor(typeMap), roots);
}

public static GraphQLObjectType getOperationRootType(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition) {
Copy link
Member Author

@dondonz dondonz Aug 16, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added util method here. Let me know if there's a better util to chuck this method into

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fair enough place.

@bbakerman bbakerman added this to the 20.0 milestone Aug 16, 2022
@bbakerman
Copy link
Member

Nice one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants