Replies: 2 comments 3 replies
-
Have you tried:
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Sorry you are right:
|
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
-
https://github.com/graphql/dataloader is a very simple and helpful set of tricks that is capable of accumulating multiple async requests and run them in batch saving time and requests to the database.
For example, the followig if using dataloader logic would generate just a single batch get and response to each with it's specificly requested value.
Or even...
Now think about the benefits of it if your system supports multiple parallel requests at the same time, or if you have multiple promises fetching items by id in parallel.
Beta Was this translation helpful? Give feedback.
All reactions