Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removes flattening of Errors inside of formatApolloErrors #1288

Merged
merged 2 commits into from
Jul 2, 2018

Conversation

evans
Copy link
Contributor

@evans evans commented Jul 2, 2018

In order to support errors thrown during GraphQL resolution that include nested errors, we need to keep the structure of the errors, rather than flattening them. The reason why the flattening code was present for mergeSchemas from graphql-tools, which returns a combinedError when ever an error is thrown from a remoteSchema.

@ghost ghost added the ⛲️ feature New addition or enhancement to existing solutions label Jul 2, 2018
@evans evans added this to the Release 2.0 milestone Jul 2, 2018
@evans evans merged commit 1947892 into version-2 Jul 2, 2018
@abernix abernix deleted the server-2.0/fix-nested-errors branch August 10, 2018 16:47
abernix added a commit that referenced this pull request Jul 23, 2019
It shouldn't be necessary to bring this entire `yup` dependency just to test
compatibility with the shape of a `yup` (https://npm.im/yup) error.

Ref: #1288
abernix added a commit that referenced this pull request Jul 23, 2019
It shouldn't be necessary to bring this entire `yup` dependency just to test
compatibility with the shape of a `yup` (https://npm.im/yup) error.

Ref: #1288
abernix added a commit that referenced this pull request Jul 23, 2019
It shouldn't be necessary to bring this entire `yup` dependency just to test
compatibility with the shape of a `yup` (https://npm.im/yup) error.

Ref: #1288
abernix added a commit that referenced this pull request Jul 23, 2019
It shouldn't be necessary to bring this entire `yup` dependency just to test
compatibility with the shape of a `yup` (https://npm.im/yup) error.

Ref: #1288
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⛲️ feature New addition or enhancement to existing solutions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant