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

AS2: Fix handling errors from context constructor and merged schemas #1113

Merged
merged 6 commits into from
May 31, 2018

Conversation

evans
Copy link
Contributor

@evans evans commented May 31, 2018

Defers throwing of an error during context creation until the thunk containing the result of context as a function is called in runQuery.

Additionally handles errors that are returned by merged schema, surfacing errors that are hidden by CombinedError in graphql-tools.

Fixes #1100
Related to #1077

@evans evans added this to the Release 2.0 milestone May 31, 2018
@evans evans merged commit 38c8713 into refactor-2.0 May 31, 2018
@evans evans deleted the server-2.0/context-fix branch May 31, 2018 05:57
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant