go-proto-validators
go-proto-validators copied to clipboard
Return all field validation errors from validate
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 :)