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

DataLoaders? #19

Closed
ebenoist opened this issue Mar 5, 2018 · 3 comments
Closed

DataLoaders? #19

ebenoist opened this issue Mar 5, 2018 · 3 comments

Comments

@ebenoist
Copy link
Contributor

ebenoist commented Mar 5, 2018

Can someone point me to how one would use DataLoaders with this library?

@siderakis
Copy link
Member

I haven’t used dataloaders with rejoiner yet but it’s in my TODO list.

It should be pretty straight forward besides possibly knowing when to dispatch. We could add some signaling into the framework if necessary.

@ebenoist
Copy link
Contributor Author

ebenoist commented Mar 5, 2018

Would you inject the DataLoader into the query args like you would a grpc client? I'd be happy to write up an example for docs if you can point me in the right direction (i.e. how you would do it for the library example).

@siderakis
Copy link
Member

as discussed in #17 the Library example now uses a dataloader for fetching books

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