https://serverless-stack.com/ logo
#random
Title
# random
ö

Ömer Toraman

11/19/2021, 7:04 AM
Very nice validation library for TypeSciprt users => https://github.com/colinhacks/zod
s

Sione

11/21/2021, 7:25 PM
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
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.
ö

Ömer Toraman

11/21/2021, 7:36 PM
Looks so cool