News for hackers. Stuff that matters.
Re:Show HN: Zod – TypeScript-first validation library with s... by Shacklz on Friday March 13, 2020 @09:26AM (#22567054)
Looks really cool! We're currently using io-ts, and the one thing that bugs us the most is it's less-than-optimal error-reporting. Especially for complex/nested objects, the error messages produced are pretty much useless. The functional aspect of it is something that we kind of got used to - and mostly hide by having a few wrapper-functions.

Will look into it!

Re:Show HN: Zod – TypeScript-first validation library with s... by colinmcd on Thursday March 26, 2020 @04:22PM (#22697568)
Just published an update to Zod that overhauls the error reporting. Now you can get the exact location in your complex/nested object where each validation error occurred. Plus all detected validation errors are reported simultaneously instead of just throwing an error at the first sign of trouble.

If you decide to switch to Zod keep me posted and don't hesitate to reach out with any feature ideas