mwitkow/go-proto-validators

Return all field validation errors from validate

Opened this issue · 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.

ValidateAll would be preferable. Happy to accept PRs :)