Hacker News new | ask | show | jobs
by throwthere 1321 days ago
tRPC is another similar library.

https://trpc.io/docs/v10/quickstart

1 comments

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 :)
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.