We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
repeated string name = 1 [(validator.field) = {repeated_count_min : 1, human_error: "Name can not be empty"}]; when build:
repeated string name = 1 [(validator.field) = {repeated_count_min : 1, human_error: "Name can not be empty"}];
item declared and not used validator code contains this loop:
item declared and not used
for _, item := range this.Name { }
I saw https://github.com/mwitkow/go-proto-validators/pull/66/files#diff-daed06840ae2242793f6bca24ba9b8bd
if fieldName != "RepeatedCountMin" && fieldName != "RepeatedCountMax" { return true }
I think human_error break your rule, can you fix it ?
human_error
The text was updated successfully, but these errors were encountered:
No branches or pull requests
repeated string name = 1 [(validator.field) = {repeated_count_min : 1, human_error: "Name can not be empty"}];
when build:
item declared and not used
validator code contains this loop:
I saw https://github.com/mwitkow/go-proto-validators/pull/66/files#diff-daed06840ae2242793f6bca24ba9b8bd
I think
human_error
break your rule, can you fix it ?The text was updated successfully, but these errors were encountered: