You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource A can have one resource B (but doesn't have to)
I return 10 resources A
Only the first resource A has a resource B
When I combine the 2 sources normally, I get the expected result, but suffer from N+1.
However, when adding batching, it assigns that one resource B to all resources A in the response. Is the matching based on the size and order of the response array? The documentation doesn't mention anything about the assumptions this solution takes.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Consider the following scenario:
When I combine the 2 sources normally, I get the expected result, but suffer from N+1.
However, when adding batching, it assigns that one resource B to all resources A in the response. Is the matching based on the size and order of the response array? The documentation doesn't mention anything about the assumptions this solution takes.
Beta Was this translation helpful? Give feedback.
All reactions