You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi I like the package, it's simple and direct to what I need but I would like to have an array of errors because in my requirements I have to send and Array with the path and the error message because in the UI the client developers rely on the keys of the path of the error to highlight the inputs the users didn't fill correctly, even though we achieve the things by hand in the frontend and in the backend, but the simplicity of this package got my attention and now I'm seeing if this could make our middlewares more thinner.
I see it does but the errors are shallow checked, I mean just at one level and stop the validation at the first error found, it would be nice to have different errors from the same input, for example: min length, max length, must be string, must not be empty, and so on. So all of them checked and not only stopped at the first error.
Thanks.
The text was updated successfully, but these errors were encountered:
Hi I like the package, it's simple and direct to what I need but I would like to have an array of errors because in my requirements I have to send and Array with the path and the error message because in the UI the client developers rely on the keys of the path of the error to highlight the inputs the users didn't fill correctly, even though we achieve the things by hand in the frontend and in the backend, but the simplicity of this package got my attention and now I'm seeing if this could make our middlewares more thinner.
I see it does but the errors are shallow checked, I mean just at one level and stop the validation at the first error found, it would be nice to have different errors from the same input, for example: min length, max length, must be string, must not be empty, and so on. So all of them checked and not only stopped at the first error.
Thanks.
The text was updated successfully, but these errors were encountered: