Input & Output Validators | tRPC
I love those coz
1) they make sure the return type is not changed when you change things in functions AND
2) since Zod "parse instead of validate", it prevents leaking data from the DB that you don't want to reach the client. Which is super super valuable.
