Effect CommunityEC
Effect Community•9mo ago•
8 replies
Patrick Roza

Issue with Rpc and Http JSON Serializer Returning Empty Array Instead of Error

of course I had silenced the compiler somewhere, and failed with an Error shape that was not supported by the error Schema set for that request.
the fun part is that Rpc with Http json serialiser, will then return an empty array of results to the client, instead of a Die exit 🙂
perhaps even better would be an actual die on the server resulting in 500?
Was this page helpful?