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 wanted to ask- is there a way to create a custom validator that would return a Vec<ValidationError> or ValidationErrors?
My use case is, I have a json structure as part of another struct. In a custom validator, I want to deserialize and validate it. This validation could potentially yield multiple errors that I'd like to return.
Thanks for this very useful library!
The text was updated successfully, but these errors were encountered:
I wanted to ask- is there a way to create a custom validator that would return a
Vec<ValidationError>
orValidationErrors
?My use case is, I have a json structure as part of another struct. In a custom validator, I want to deserialize and validate it. This validation could potentially yield multiple errors that I'd like to return.
Thanks for this very useful library!
The text was updated successfully, but these errors were encountered: