Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
throwthere
· 4y ago · 0 comments
tRPC is another similar library.
https://trpc.io/docs/v10/quickstart
Comments
[–]
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 ago
Zod gives you a lot more of control on the schema.
[–]
jasperpressplay
4y ago
That’s an interesting point, can you give an example of that?
[–]
simlevesque
4y ago
You can use any custom validation there is for any field.