zod
-
Solved: Why does a router need codegen for type safety? I built one that doesn’t
Achieve true type safety in your TypeScript router without codegen. We break down the compile-time vs. runtime problem and how to solve it for good. Continue reading
-
Solved: Does a “TypeScript type inference debugger” exist?
Learn 3 practical methods to debug complex TypeScript types when your IDE hover fails. Reveal what the compiler actually sees and fix mysterious error Continue reading
-
Solved: Zod – z.string().array() or z.array(z.string()) ?
Struggling with Zod array validation? Learn the difference between z.array(z.string()) and z.string().array() to fix common schema errors fast. Continue reading
-
Solved: Zod: how to check if string is valid int64 while preserving string type?
Validate a string as an int64 with Zod while preserving the string type. Avoid JavaScript precision loss with large numbers from databases like BIGINT Continue reading