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
Previously, errors with invalid or missing paths were lost.
See:
#1641https://github.com/apollographql/apollo-server/issues/4226
They are now saved!
All correctly pathed errors are now inlined into the returned data by the CheckResultAndHandleErrors transform.
The data is now annotated only with the remaining "unpathed" errors. These are then returned when possible if a null is encountered including the missing or potentially invalid path.
Changes to error handling obviate some existing functions including getErrorsByPathSegment, getErrors in favor of getUnpathedErrors.
Utility functions including slicedError and unreleased functions extendedError and unextendedError are no longer necessary.
0 commit comments