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

Propagate graphql errors as errors instead of success response #805

Merged
merged 3 commits into from
Aug 19, 2024

Conversation

cool-ant
Copy link
Member

@cool-ant cool-ant commented Aug 8, 2024

Supervisor was returning graphql errors as successes, which caused unrelated downstream issues because everything downstream was expecting good results but getting body = "errors": { ...error stuff... }
Now graphql errors are thrown in the JS context

@cool-ant cool-ant force-pushed the mm/supervisor-graphql-error-propagation branch from 7546071 to 0cbc847 Compare August 15, 2024 13:36
@cool-ant cool-ant merged commit 708defd into main Aug 19, 2024
4 checks passed
@cool-ant cool-ant deleted the mm/supervisor-graphql-error-propagation branch August 19, 2024 04:54
@James-Mart James-Mart added the Dev Experience Related to the experience of developers label Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dev Experience Related to the experience of developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants