Hacker News new | ask | show | jobs
by jasperpressplay 1324 days ago
There’re some key differences though, one being you can use plain typescript types to define your models, instead of a validation lib like zod :)
1 comments

Zod gives you a lot more of control on the schema.
That’s an interesting point, can you give an example of that?
You can use any custom validation there is for any field.