Closed PyaePhyoKyaw61194 closed 2 years ago
It seems to be validation error is taking over the actual 400 response. It's an internal bug after changing the internally to the lifecycle.
After checking for source code , I found that context.resolverValidation.error from safeParse always returns undefined.
@wai-lin
Since the error is undefined.,the format() method won't work.
@PyaePhyoKyaw61194
this should be solved in v0.1.5
. Let me know if you're still experiencing this.
I tested the example code and it did not return 400. Instead, the response is 500 and 200 at a random situation.