This gist provides wrappers around java-dataloader's classes to make them compatible with coroutines, as well as a "dispatcher" that provides a mechanism for dispatching dataloaders enqueued during a GraphQL operation execution.
For context on why this is necessary, see [this issue on graphql-java][issue] and specifically [this comment][comment] with a solution that Apollo uses for their own GraphQL services.
The crux of the issue is that graphql-java's dataloader dispatching mechanism assumes one