DEV Community

#zod

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
One zod schema per route: Express handler, OpenAPI and TS client

One zod schema per route: Express handler, OpenAPI and TS client

Comments
5 min read
Zod input and output validation for JavaScript functions

Zod input and output validation for JavaScript functions

Comments
6 min read
I built jsoncrafter: JSON to TypeScript types, Zod schemas and a mock REST API in one command

I built jsoncrafter: JSON to TypeScript types, Zod schemas and a mock REST API in one command

Comments
4 min read
One jsonb column, and three places where losing it has to be cheaper than losing the score

One jsonb column, and three places where losing it has to be cheaper than losing the score

Comments
4 min read
Zod at the Boundary: Validating Webhooks and Form Submissions at Runtime

Zod at the Boundary: Validating Webhooks and Form Submissions at Runtime

2
Comments
8 min read
Your Zod .refine() Never Reaches the Model: What Survives the Trip to JSON Schema

Your Zod .refine() Never Reaches the Model: What Survives the Trip to JSON Schema

Comments
8 min read
Why Your TypeScript Still Crashes in Production: Validating Data at the Boundary with Zod

Why Your TypeScript Still Crashes in Production: Validating Data at the Boundary with Zod

Comments
7 min read
Why Your TypeScript Code Still Crashes in Production: Validating Data at Runtime Boundaries with Zod

Why Your TypeScript Code Still Crashes in Production: Validating Data at Runtime Boundaries with Zod

Comments
6 min read
Generating a Zod schema from an API response sample, and what a sample can’t tell you

Generating a Zod schema from an API response sample, and what a sample can’t tell you

Comments 1
2 min read
A failed validation is a feature: designing the error path your users actually see

A failed validation is a feature: designing the error path your users actually see

Comments
3 min read
Stop Trusting JSON From Your LLM: Zod Validation and Repair Prompts

Stop Trusting JSON From Your LLM: Zod Validation and Repair Prompts

1
Comments 2
5 min read
We replayed real cold email prompts through 7 LLMs. DeepSeek, Gemini Lite and GLM failed in a way no benchmark shows

We replayed real cold email prompts through 7 LLMs. DeepSeek, Gemini Lite and GLM failed in a way no benchmark shows

Comments
5 min read
My Zod Schema Was Valid. The Library Said It Wasn't.

My Zod Schema Was Valid. The Library Said It Wasn't.

3
Comments 8
3 min read
Uncontrolled-First React Forms: React Hook Form + Zod

Uncontrolled-First React Forms: React Hook Form + Zod

1
Comments 1
4 min read
Your First LLM Call in TypeScript Is Untyped — Here's the Fix

Your First LLM Call in TypeScript Is Untyped — Here's the Fix

5
Comments
6 min read
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.