Zod is my goto validation lib now. Love the type infer from the schema. Very powerful. Highly recommended
ö
Ömer Toraman
11/21/2021, 7:27 PM
Agreed
Ömer Toraman
11/21/2021, 7:28 PM
I was using class-validator and class-transformer, but I like zod more
s
Sione
11/21/2021, 7:33 PM
Nicee. Haven't used those two. I was using yup before. I've been experimenting building api with trpc https://github.com/trpc/trpc that support zod as input validation. And the typesafe experince is next level.