Id like to start using dataloader with Apollo Server in my Meteor app, but getting the promises not run in fiber error. Is the way to solve this to use wrapasync or is there a cleaner solution? Dataloader expects you to return a promise and async/await wasn’t valid.
Is there any simple example code with meteor somewhere online?
When I used async/await in place of the promise it was showing me an error message that I had to pass in a promise instead of a function. I’ll try find the exact error message later. I followed your article to use rawCollection to get it working.
Not running into any must run in fiber issues using this approach.
I’m on Meteor 1.6.1 and what we’re using for Apollo server is a year old. Apollo has progressed a bunch since then, but haven’t upgraded on this project and not sure how much work that would be with Meteor.