-
Notifications
You must be signed in to change notification settings - Fork 574
New issue
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
Facebook Dataloader #3
Comments
Hi @ronal2do thanks a lot for bringing this up. Could you describe your scenario for dataloader? |
I, too, am interested in this. I'm most interested in reducing the amount of requests in a single query. Because my GraphQL server currently is wrapping REST APIs, I am making the same request in multiple resolvers, but resolving different parts of the returned object. I think this is a use case for dataloader. |
@DevanB do you have any suggestion on how the API should look like you'd want to use? |
At this time, no. Apparently you can move dataloaders to different layers of the server and get different results? After hearing that, I've decided to research it a little. Once I complete that research, and possibly implement my own version, I'm sure I'll have an opinion on how the API should look. 👍 |
Just to cache the data, even for servers that I believe to be very useful, I use in some projects that is very good |
I believe this should NOT be part of Yoga, |
Hey, @Urigo from The Guild here! You might know us from projects such as graphql-code-generator, envelop or graphql-tools. For a long time we thought that the Javascript ecosystem is still missing a lightweight cross-platform, but still highly customizable GraphQL Server. In the past the awesome Prisma team took on that great challenge and now we are happy to announce that we are continuing them and just released GraphQL Yoga 2.0 - Build fast, extensible, and batteries-included (Subscriptions, Serverless, File uploads support) GraphQL APIs in Node.js 🚀 And regarding the issue here, we also took on the development on DataLoader We have been working a long time on version 2.0 and have been using it in our clients projects for a few months now and shared a couple of alpha cycles here. Please try Yoga out again, give us feedback and help us spread the word on the new release! |
Any expectations to adapt?
The text was updated successfully, but these errors were encountered: