
Zod with Matt Pocock
PodRocket
00:00
Is Zod a Validation Tool?
Zod makes you think about or urges you to think about validation that you wouldn't have considered beforehand. There are so many methods in this library for that you can just chain because it's a chainable sort of paradigm. You can do like z dot refine where you can refine the existing object type and kind of check that those two things are the same. If they're not the same then you throw an error. Even a custom error that you can and you can override that.
Play episode from 09:16
Transcript


