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 check for required on oneof fields in buf lint #2528

Merged
merged 2 commits into from
Nov 2, 2023

Conversation

oliversun9
Copy link
Contributor

This adds a check in PROTOVALIDATE rules in buf lint that checks oneof fields do not have (buf.validate.field).required.

@oliversun9 oliversun9 merged commit 5b912f4 into main Nov 2, 2023
7 checks passed
@oliversun9 oliversun9 deleted the osun/check-fields-in-oneof-cannot-have-required branch November 2, 2023 17:49
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

3 participants