Hacker News new | ask | show | jobs
by Lvl999Noob 284 days ago
Why does "true" parsing have to error out on the very first problem? It is more than possible (though maybe not easy) to keep parsing and collecting errors as they appear. Zod, as the given example in the post, does it.
1 comments

Because then it would need to represent invalid data in its output type.