BByteOrbit·5d agoZod 4 required_error Removed: How to Customize Required and Invalid Type MessagesIf you upgraded to Zod 4 and your "This field is required" messages turned into Invalid input: expected string, received undefined, you hit the removal of required_error. This guide to Zod 4 required_9 min read·byteorbit.hashnode.dev
MMuhammad Ahmad·Nov 24Topological Sorting, TDZ Crashes, and z.lazy() Cycle Guards: The Hidden Compiler Challenges of OpenAPI-to-Zod CodegenWhy alphabetical Zod schema generation crashes with TDZ ReferenceErrors, how to handle circular $ref trees with z.lazy(), and OpenAPI 3.0 vs. 3.1 tips.3 min read·kivarotools.hashnode.dev
AAsfaq Leeon·Nov 19Building Type-Safe Auth in React with React Hook Form, Zod and ZustandAuth is a good test of a React codebase. It touches forms, validation, global state, routing and an API, and every one of those can go wrong in small ways. In this post I build a small login and regis9 min read·leeonscoding.hashnode.dev1
VVijay Choudhary·Nov 18Build a Type-Safe Multi-Sport API Client in TypeScript with Zod (13 Sports, One Schema)Validate third-party API responses at runtime, get full autocomplete across sports, and stop shipping undefined is not a function to production.11 min read·bettechmagnetics.hashnode.dev1
AAlfaz Mahmud Rizve·Nov 14Stop hand-writing TypeScript types from API responsesEvery API integration starts the same way: a JSON response in the Network tab, and a developer typing out the interface by hand. It works until the response has a nested object three levels deep, a fi4 min read·alfazreviews.hashnode.dev
WWaqas Shahid·Nov 8Zod: Stop Bad Data at the Door of Your CheckoutA customer fills in a checkout form and picks two ceramic mugs and a linen tote. Somewhere between the form and the server, the quantity turns into the string "2" instead of the number 2. TypeScript d7 min read·practicaldevblog.hashnode.dev
WWaseem Anjum·Nov 7Zod vs Valibot vs ArkType for MCP Tool SchemasI compared Zod, Valibot and ArkType for MCP tool schemas: JSON Schema output, errors, datetime handling, parse speed, cold starts and bundle size.9 min read·fabwaseem.hashnode.dev1X
CCoding Macaw Bootcamp·Oct 22Building a US Tax Calculator in Next.js: A Deep Dive into Fintech ArchitectureDive into fintech architecture with technical guide on building a tax calculator in Next.js. Master BigInt math, Server Actions, and Zod validation.4 min read·codingmacawbootcamp.hashnode.dev
ZZyVOP·Oct 22Zod: Stop Trusting Your DataTypeScript promises that your User is a User. At the one place it matters most, where data enters your program, it can't keep that promise. Zod can.20 min read·blog.zyvop.com
DDamiano Bianda·Oct 20A failed validation is a feature: designing the error path your users actually see"Validate at the edges" is one of those phrases everyone agrees with and nobody finishes. I wrote before about why TypeScript types evaporate at runtime and why the boundary needs its own check. This3 min read·damianobianda.hashnode.dev