Y
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
1718627440
284 days ago
Because then it would need to represent invalid data in its output type.
link