-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add example of using DataLoader #41
Comments
Hi @benmccann thx for reaching out! The todo-java-tools is not suited for a The It should be setup like:
Important is to have it
and then in a
But this is for a plain Java implementation, not using Java Tools. Hope this helps. |
Nice! This is super helpful!! Is the Will the GraphQL execution engine sometimes call the data loader (e.g. when a join is occuring) or do I always need to manually invoke it from a I don't think Java Tools does anything special as far as data loaders go, so adding this to Thanks again for all your help on this! |
Hi @benmccann I will update the ToDo examples to include a |
That would be fantastic! Thank you so much!! |
Hey @marceloverdijk I just thought I'd check in and see if you might still have a chance to update the example? Thanks again for all your help |
Sorry @benmccann got delayed a bit but thx for the reminder. Will look at it soon! |
I figured out how to do this, so feel free to close I do have one Micronaut-specific question though. There are a couple places in the setup where I need to inject everything of a certain type. E.g. inject an instance of every I saw someone mention they were doing this in Spring with:
|
No pls keep it open. I just didn't find the time yet :-( The pattern you are talking about I'm also seeing with |
It turns out you can inject a
|
Thank you so much for providing this project! I'm trying to set my project up following the todo-java-tools example. I noticed that example and none of the others demonstrate using a
DataLoader
and I'm having a hard time figuring it out. (I do see some support was added). I'd love it if this were something that could be added to the exampleThanks again!
The text was updated successfully, but these errors were encountered: