Closed PyaePhyoKyaw61194 closed 2 years ago
As for comparison , I added the simple object validation for 400 message. In this case, typescript works
Even though the typescript does not work well, our lib can still detect the error when a req is sent. The validation error is caught when the name property is not included in resolver return type.
@PyaePhyoKyaw61194 this should be solved since v0.2.0
is this solved for you?
@wai-lin yep, we can close this.
I have to use zod array validation to return users. In this case, typescript cannot show error for resolver.