We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Thanks for sharing the sample code here.. If you could correct the below method by adding the prefix TypeRuntimeWiring, it will help starters like me.
private RuntimeWiring buildWiring() { return RuntimeWiring.newRuntimeWiring() .type(TypeRuntimeWiring.newTypeWiring("Query") .dataFetcher("bookById", graphQLDataFetchers.getBookByIdDataFetcher())) .type(TypeRuntimeWiring.newTypeWiring("Book") .dataFetcher("author", graphQLDataFetchers.getAuthorDataFetcher())) .build(); }
The text was updated successfully, but these errors were encountered:
Closing this issue as the tutorial has been rewritten with Spring for GraphQL, which automatically wires up datafetchers
Sorry, something went wrong.
No branches or pull requests
Thanks for sharing the sample code here.. If you could correct the below method by adding the prefix TypeRuntimeWiring, it will help starters like me.
private RuntimeWiring buildWiring() {
return RuntimeWiring.newRuntimeWiring()
.type(TypeRuntimeWiring.newTypeWiring("Query")
.dataFetcher("bookById", graphQLDataFetchers.getBookByIdDataFetcher()))
.type(TypeRuntimeWiring.newTypeWiring("Book")
.dataFetcher("author", graphQLDataFetchers.getAuthorDataFetcher()))
.build();
}
The text was updated successfully, but these errors were encountered: