|
|
|
|
|
by graftak
1042 days ago
|
|
I don’t really like Zod at all, it has very finicky and verbose types/generic params and it’s object generic won’t allow you to pass a data type, but instead you must pass zods own schema types as properties which are very messy and unintuitive. Another annoyance is that the type of validation errors varies depending on what kind of schema you’re checking against. This makes it unpredictable to handle errors and there’s always too many edge cases. Lots of room for improvement. |
|
The new valibot.dev looks cool but I haven't tried it yet.