turkerdev / fastify-type-provider-zod

MIT License
303 stars 19 forks source link

When the check data type is not correct, the error message is not the object type, but the string type, which looks very unfriendly! #51

Open 976977577 opened 1 year ago

976977577 commented 1 year ago

image I hope you can optimize it and change the returned data verification format message into JSON type, thank you!

HannesOberreiter commented 11 months ago

There is an easy workaround for this.

https://github.com/turkerdev/fastify-type-provider-zod/issues/26#issuecomment-1516147720

Cheers Hannes