Remove @fetch and nextgen engine by dondonz · Pull Request #2923 · graphql-java/graphql-java · GitHub
Skip to content

Remove @fetch and nextgen engine #2923

Merged
dondonz merged 4 commits into
masterfrom
deprecation-drive-part-1
Aug 17, 2022
Merged

Remove @fetch and nextgen engine #2923
dondonz merged 4 commits into
masterfrom
deprecation-drive-part-1

Conversation

@dondonz

@dondonz dondonz commented Aug 16, 2022

Copy link
Copy Markdown
Member

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

@dondonz dondonz Aug 16, 2022

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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) {

@dondonz dondonz Aug 16, 2022

Copy link
Copy Markdown
Member Author

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
Copy Markdown
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
Copy Markdown
Member

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.

2 participants