←back to thread

Zod v4 Beta

(v4.zod.dev)
175 points mycroft_4221 | 1 comments | | HN request time: 0s | source
Show context
mary-ext ◴[] No.43668456[source]
This is awesome, bundle size has been my number one issue preventing me from trying out Zod as v3 shipped with validations that were unnecessary for frontend use but weren't able to be treeshaken.
replies(1): >>43668615 #
1. mary-ext ◴[] No.43668615[source]
I do wonder if it might have fixed the type complexity issue that has prevented me from exporting Zod schemas from a library, but I suppose I could try finding this out later