Zod does two opposite jobs in our app, and the call shape tells you which one
This story is from 2026-11-05. It is preserved in the archive; the latest stories are on the live feed.
Nakodo has zod 4.6.5 in it, imported by 27 files, declaring 70 z.object schemas. When I counted those files I expected one population. There are two, they do opposite jobs, and I can tell them apart without reading them: the input schemas call safeParse and the model schemas never call anything at…
Read the full story at DEV Community — AI ↗
Timeline · 1 report
- 2026-11-05 11:23 · DEV Community — AI
Zod does two opposite jobs in our app, and the call shape tells you which one