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

Fix buf lint mistaking proto3 optional fields for oneof fields #2590

Merged
merged 2 commits into from
Nov 14, 2023

Conversation

oliversun9
Copy link
Contributor

Fixes #2589.

This PR fixes the bug where buf lint incorrectly report error on proto3 optional fields.

@oliversun9 oliversun9 changed the title Fix buf lint report error on buf.validate.field.required on a optional field in proto3 Fix buf lint mistaking proto3 optional fields for oneof fields Nov 14, 2023
@oliversun9 oliversun9 merged commit 61bc015 into main Nov 14, 2023
7 checks passed
@oliversun9 oliversun9 deleted the osun/fix-lint-protovalidate-for-proto3-optional branch November 14, 2023 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants