Open huan opened 3 years ago
Hi, I stumbled upon this issue while tackling the similar problem: yoheimuta/protolint#234.
FWIW, protoc-gen-protolint supports proto3 optional. Moreover, protoc-gen-protolint is meant to be a drop-in replacement of protoc-gen-lint. I hope your blocker issue will be resolved soon.
According to https://stackoverflow.com/a/62566052/1123955, we can get rid of the wrapper in our protos.
See: https://github.com/protocolbuffers/protobuf/blob/v3.12.0/docs/implementing_proto3_presence.md#background
This change will be a BREAKING CHANGE so it should be discussed later.
Useful Resources
Blockers
More details