The engineering notebook
RSS feed#validation
Articles, practical guides, and engineering notes on validation.
By Ashish Bhakhand 108 published articles
Explore the articles
4 articles
Reset filtersZod Beyond Basic Parsing: Strict Objects, Defaults, Coercion, and Inferred Types
Practical Zod patterns for safer query strings, configuration, discriminated inputs, and TypeScript contracts without duplicate types.
Practical Pydantic Validation Beyond Basic Field Types
Use strict objects, constrained fields, normalization, literals, and model validators without moving business logic into schemas.
Flutter Forms Are State Machines, Not Widgets
Build Flutter forms that handle touched fields, dirty values, validation, submission, and reset without mixing everything into the UI.
TypeScript Types Disappear at Runtime: Validate API Boundaries with Zod
Static types cannot protect a running API from malformed input. Learn how Zod turns untrusted payloads into safe application data.