Hacker News new | ask | show | jobs
by hermanradtke 200 days ago
> we end up with a mix of both Zod and types and sometimes types that need to be converted to Zod

In my code, everything is a Zod schema and we infer interfaces or types from the schemas. Is there a place where this breaks down?

1 comments

Not that I know of aside from code comments (which I like), but I much prefer writing TypeScript to Zod