builders
builders copied to clipboard
Validation errors
Feature
Please revert back the validation errors. This new "Zod" thing is terrible. I've been searching for 2h where the issue is because it doesn't tell you where the error is.
Ideal solution or implementation
Revert back to the previous validator (ow) which said what exact fields and commands are causing issues
Alternative solutions or implementations
No response
Other context

the first image, I'm missing description for one command, there is no way for me to read that from the error. the second image, I accidentally made one command name first letter capital. All I know that my regex is invalid somewhere in 50 commands. This is terrible
That's not happening, ow switched to ESM-only and has caused many issues in the past due to it.
We'll most likely switch to ShapeShift, which Sapphire devs have been building to improve the experience and performance of the validation process.
@kyranet Are there any benchmarks for shapeshift compared to zod or other validation libs?
Yes, @vladfrangu has them.