Skip to content

Batching resolvers (data fetchers) #389

Answered by benmccann
jugalthakkar asked this question in Q&A
Discussion options

You must be logged in to vote

I had the same question while trying to get this setup with Micronaut. When you read the GraphQL Java docs they have a whole chapter on "batching" and make it sound very important that you implement a BatchLoader for each type. When using graphql-java-tools it looks like we use GraphQLResolver instead of DataFetcher and so there's this big open question in the docs of do we use BatchLoader or does graphql-java-tools have its own version of that too? If we do use BatchLoader how to we integrate it since some of the APIs are different (e.g. now we use SchemaParser, SchemaParserBuilder, etc. instead of the graphql-java versions)

It looks like several others have had this question as well: #370

Replies: 8 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by vojtapol
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants
Converted from issue

This discussion was converted from issue #389 on December 21, 2020 15:49.