Thanks Divyendu Singh for this. I am currently learning GraphQL the Apollo way, but I think your approach is much more easy to reason about. Can’t wait for your upcoming mutation and dataloader post using MongoDB and Mongoose.
DataLoader is compatible with Koa. Check out Entria The Tech Team’s https://github.com/entria/graphql-dataloader-boilerplate and medium articles on create-graphql here. https://medium.com/entria/announcing-create-graphql-17bdd81b9f96. They use koa and dataloader.