Exploring Zod and the Benefits of Schema-Based Validation in TypeScript Projects
Introduction This post explores Zod, a library that provides “TypeScript-first schema validation with static type inference”. We’ll explore how it works and why it’s so useful. Manual Validation If you’ve found yourself manually writing validation checks it can get tedious...