Skip to content
New issue

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

Add all-validator support #443

Merged
merged 2 commits into from
Jul 23, 2021

Conversation

leventeliu
Copy link
Contributor

Reopen pull request #438 with new branch and target branch is v2.

FYI, I changed PingErrorRequest to implement only validatorLegacy interface, in order to cover more possible branches and keep coverage up. All tests passed and everything looks fine.

interceptors/validator/validator.go Outdated Show resolved Hide resolved
interceptors/validator/validator.go Outdated Show resolved Hide resolved
interceptors/validator/validator.go Outdated Show resolved Hide resolved
Since we are working on v2, keeping the signature
compatible with v1 is not actually necessary.

Use a clearer single argument instead. Also add comments
for the new argument.
Copy link
Collaborator

@johanbrandhorst johanbrandhorst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants