6 ms·
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 :)
by jasperpressplay 4y 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 :)
- simlevesque 4y agoZod gives you a lot more of control on the schema.
- jasperpressplay 4y agoThat’s an interesting point, can you give an example of that?
- simlevesque 4y agoYou can use any custom validation there is for any field.