Error handling from zValidator validation on frontend using RPC #3430
callmetwan
started this conversation in
General
Replies: 1 comment
-
Hello, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When using zValidator and not supplying valid properties to a request, I would expect to get an error response when using RPC. Here is a simple example:
Backend
Client
Using zValidator doesn't cause the return type to indicate that a 400 could be returned with errors (which is what zValidator reutrns ).
Is there something else I need to add to the middleware instantiation? Or is this a known issue?
Beta Was this translation helpful? Give feedback.
All reactions