Serious question: how widespread and actually used in production is Zod?
Honestly, it made things worse for me. JavaScript isn’t a statistical typed language and TypeScript already is something, where due to compiler issues I just use “any”.
Zod has its conventions and JavaScript ain’t Java.
So Zod is also hard to read and debug. It is type conversion to type conversion - bloat, not JavaScript.
Even Pydantic looks tamed compared to Zod.
So how do you use it? Which conventions? Only for validation at certain steps? APIs?
I stopped using TanStack because it got to meta for me and AI as well.
Tests are needed anyway, I rely on TypeScript only now.
Serious question: how widespread and actually used in production is Zod?
Honestly, it made things worse for me. JavaScript isn’t a statistical typed language and TypeScript already is something, where due to compiler issues I just use “any”.
Zod has its conventions and JavaScript ain’t Java.
So Zod is also hard to read and debug. It is type conversion to type conversion - bloat, not JavaScript.
Even Pydantic looks tamed compared to Zod.
So how do you use it? Which conventions? Only for validation at certain steps? APIs?
I stopped using TanStack because it got to meta for me and AI as well.
Tests are needed anyway, I rely on TypeScript only now.