Replies: 1 comment
-
Have you experimented with https://github.com/slaypni/type-graphql-dataloader? It is intended to solve this problem. There's also a related open type-graphql issue #51, browsing through it might be helpful. Plenty of good comments there, I found #51 (comment) and #51 (comment) especially helpful. I'm also experiencing this issue, but using type-graphql with RESTDataSources instead of typeorm. Haven't had time to try to implement those suggested solutions yet. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Are there any solutions to the N+1 problem ? I am using type-graphql with typeorm.
Beta Was this translation helpful? Give feedback.
All reactions