gofractally / psibase

Open source protocol enabling communities to easily self-host web applications
https://docs.psibase.io
MIT License
28 stars 7 forks source link

Propagate graphql errors as errors instead of success response #805

Closed cool-ant closed 3 months ago

cool-ant commented 3 months ago

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