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

Handling fetch all #22

Closed
matthewmueller opened this issue Mar 11, 2016 · 2 comments
Closed

Handling fetch all #22

matthewmueller opened this issue Mar 11, 2016 · 2 comments

Comments

@matthewmueller
Copy link

For the case of loading all rows from a table, you don't really care what the ID is, but you may want to cache all responses with their IDs for future requests. This would also be applicable when you have top-level queries

It might make sense for there to be a way to manually cache results.

@leebyron
Copy link
Contributor

leebyron commented Apr 5, 2016

You should check out #18 which just landed. This lets you prime a cache. If you have another service which loads a list of things without knowing their keys first, then you could use prime to insert them into your dataloader cache.

@leebyron leebyron closed this as completed Apr 5, 2016
@matthewmueller
Copy link
Author

wonderful!

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

2 participants