-
Notifications
You must be signed in to change notification settings - Fork 244
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e30be9e
commit 9dc6d7a
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |