Skip to content

Commit

Permalink
Add changeset for error response
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascioli committed Mar 4, 2024
1 parent e30be9e commit 9dc6d7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changesets/fix_nc_prioritize_errors_in_response.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
### Prioritize errors in GraphQL response ([Issue #4375](https://github.com/apollographql/router/issues/4375))

Previously, the router would return data from an operation before any potential errors in the request.
[As recommended in the GraphQL spec](https://spec.graphql.org/draft/#note-6f005), the suggested route
is to try to return errors first before data in the response. The router now does so.

By [@nicholascioli](https://github.com/nicholascioli) in https://github.com/apollographql/router/pull/4728

0 comments on commit 9dc6d7a

Please sign in to comment.