Y
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
simlevesque
1324 days ago
Zod gives you a lot more of control on the schema.
link
jasperpressplay
1324 days ago
That’s an interesting point, can you give an example of that?
link
simlevesque
1324 days ago
You can use any custom validation there is for any field.
link