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

Handle errors thrown in lifecycle events per operation #2584

Merged
merged 2 commits into from
Jul 16, 2024

Conversation

spawnia
Copy link
Collaborator

@spawnia spawnia commented Jul 16, 2024

Resolves #2583

  • Added or updated tests
  • Documented user facing changes
  • Updated CHANGELOG.md

Changes

Handle errors during handling of individual GraphQL operations gracefully and include them in per-operation errors.

Breaking changes

Error responses are now improved in certain cases.

@spawnia spawnia marked this pull request as ready for review July 16, 2024 10:57
@spawnia
Copy link
Collaborator Author

spawnia commented Jul 16, 2024

@naotake51 Please review.

@spawnia spawnia added the bug An error within Lighthouse label Jul 16, 2024
@naotake51
Copy link
Contributor

@naotake51ご確認ください。

After incorporating the changes in src/GraphQL.php, it returned the response I expected. Thank you!

LGTM!

@spawnia spawnia merged commit 921981c into master Jul 16, 2024
41 checks passed
@spawnia spawnia deleted the handle-event-errors branch July 16, 2024 13:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An error within Lighthouse
Projects
None yet
2 participants