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
I have setup my backend to return an error for 2 separate queries. I made subsequent queries with the apollo client, and they were successfully batched together. Both queries return and error, but each promise was resolved successfully.
If I turn off batching, two separate calls are made to the backend and each promise was rejected as expected.
Let me know if you need anymore information.
The text was updated successfully, but these errors were encountered:
I don't think there's a good solution to doing error handling (esp. network error handling) for query merging. The right way to do this is probably through #531 once it is merged (probably by the middle of next week).
The successfully resolved promises does seem like a bug, however. @jmiazga if you could add a test to QueryManager that reproduces that issue, that would be incredibly helpful!
I have setup my backend to return an error for 2 separate queries. I made subsequent queries with the apollo client, and they were successfully batched together. Both queries return and error, but each promise was resolved successfully.
If I turn off batching, two separate calls are made to the backend and each promise was rejected as expected.
Let me know if you need anymore information.
The text was updated successfully, but these errors were encountered: