Skip to content
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

Closed
ronal2do opened this issue Nov 20, 2017 · 7 comments
Closed

Facebook Dataloader #3

ronal2do opened this issue Nov 20, 2017 · 7 comments

Comments

@ronal2do
Copy link

Any expectations to adapt?

@schickling
Copy link
Contributor

Hi @ronal2do thanks a lot for bringing this up. Could you describe your scenario for dataloader?

@DevanB
Copy link
Contributor

DevanB commented Nov 21, 2017

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.

@schickling
Copy link
Contributor

@DevanB do you have any suggestion on how the API should look like you'd want to use?

@DevanB
Copy link
Contributor

DevanB commented Nov 21, 2017

@schickling

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. 👍

@ronal2do
Copy link
Author

Just to cache the data, even for servers that I believe to be very useful, I use in some projects that is very good

@orefalo
Copy link

orefalo commented Nov 29, 2017

I believe this should NOT be part of Yoga,
unless it is implemented as a schema @directive

@Urigo
Copy link
Collaborator

Urigo commented Mar 29, 2022

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.
Thank you all for your feedback and suggestions, you made this release possible!

Please try Yoga out again, give us feedback and help us spread the word on the new release!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants