Learn how to solve one of the most fundamental ad important piece of JS software development - Data Validation with a library that's lightweight, expressive and 100% Typescript ready.
No framework needed, or BYOF(Bring your own framework)
Chapters:
00:00 Intro to validation libraries and a bit about Yup and Joi
04:16 The Zod intro
05:50 Primitives: String, Datetime, Number and Boolean
15:04 Primitives: Literals & Enums
19:05 Shapes and Objects
22:10 safeParse
24:00 Shape Ops - partial, extend, required, deepPartial
34:28 the "defaults"
37:30 required, strict and passthrough
44:30 Array
47:35 Outro