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
I think the current implementation, which includes only a message and it's the responsibility of the rule, is a little cumbersome. If I want a different error message, I need to create a custom rule. If this applies to all the rules, I believe it's worth considering programmatic access to the validation type and constraint info that failed or the constraints (Like in the param data in the Validator Crate) or the option to override the error message. I expect comments on this or even if it’s relatively easy to implement with the current state of this library or even if it's the plan.
Thanks for your time.
The text was updated successfully, but these errors were encountered:
I think the current implementation, which includes only a message and it's the responsibility of the rule, is a little cumbersome. If I want a different error message, I need to create a custom rule. If this applies to all the rules, I believe it's worth considering programmatic access to the validation type and constraint info that failed or the constraints (Like in the param data in the Validator Crate) or the option to override the error message. I expect comments on this or even if it’s relatively easy to implement with the current state of this library or even if it's the plan.
Thanks for your time.
The text was updated successfully, but these errors were encountered: