go-proto-validators icon indicating copy to clipboard operation
go-proto-validators copied to clipboard

Return all field validation errors from validate

Open adam-26 opened this issue 7 years ago • 1 comments

As mentioned in #21, it would be useful if the Validate() method was able to return all violated validation rules on all fields. Either by invoking Validate(true) with a param, or creating a new method ValidateAll() for example.

adam-26 avatar Mar 03 '17 16:03 adam-26

ValidateAll would be preferable. Happy to accept PRs :)

mwitkow avatar May 17 '17 20:05 mwitkow