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
resolves#4375
Previously, the router would always respond with data first, and
then show any errors in the request. The GraphQL spec suggests
having the errors show up before data, so this commit makes
errors output first before data.
resolves#4375
Previously, the router would always respond with data first, and
then show any errors in the request. The GraphQL spec suggests
having the errors show up before data, so this commit makes
errors output first before data.
Describe the bug
The GraphQL spec recommends having
errors
first in the payloads.However the router does the opposite (
data
first) even when the original subgraph payload has the preferred order.To Reproduce
Result from subgraph:
errors
are first.Result from router:
data
is first.Expected behavior
The spec recommendation should be followed.
Tested on 1.35.0
Additional context
Related to apollographql/apollo-kotlin#5470
The text was updated successfully, but these errors were encountered: