-
What happened?I'm lost in how to implement dataloader and gin together What did you expect?Minimal graphql.schema and models to reproduceThe getting-started schema + database in resolver.go versions
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
So I hope this helps. I battled through this like 10 months or so ago. But I figured it out w/a little help from this one particular youtube vid - https://www.youtube.com/watch?v=D3SrjuTaUQU I also added some snippets of code in a gist, hopefully that will add a little context. But watch the video first, then I think the code snippets will make more sense. It's been awhile since I have touched this code, so I don't remember everything. https://gist.github.com/calam1/19cbd3ceef2d903f99a3c1696b94bdc1 |
Beta Was this translation helpful? Give feedback.
-
Ohh thanks @calam1, this video and the snippets helped me a lot to make some progress here. I will try to create a sample or a an example and make a pull request. |
Beta Was this translation helpful? Give feedback.
So I hope this helps. I battled through this like 10 months or so ago. But I figured it out w/a little help from this one particular youtube vid - https://www.youtube.com/watch?v=D3SrjuTaUQU
I also added some snippets of code in a gist, hopefully that will add a little context. But watch the video first, then I think the code snippets will make more sense. It's been awhile since I have touched this code, so I don't remember everything.
https://gist.github.com/calam1/19cbd3ceef2d903f99a3c1696b94bdc1