You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
came from #97 , created a sandbox that reproduces the problem -> sandbox.
note the difference between sending a request with correct type but invalid body and a request with wrong type.
it happens when you use a centralized error handling middleware and you throw a proper error in route handlers when ctx.invalid is set.
I think it should be supported and work like a charm so I did some brain work and came up with a solution, will open a pr for this.
The text was updated successfully, but these errors were encountered:
Hi!
came from #97 , created a sandbox that reproduces the problem -> sandbox.
note the difference between sending a request with correct type but invalid body and a request with wrong type.
it happens when you use a centralized error handling middleware and you throw a proper error in route handlers when
ctx.invalid
is set.I think it should be supported and work like a charm so I did some brain work and came up with a solution, will open a pr for this.
The text was updated successfully, but these errors were encountered: