option go_package in proto files #18341
Labels
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
type/feature
What would you like to be added?
There has been a commit in the main branch for at least 10 months that adds option go_package: https://github.com/etcd-io/etcd/blob/main/server/storage/wal/walpb/record.proto#L7
But the latest version (v3.5.14) does not have this option, please add this option (or commit) to the next version.
Why is this needed?
I am using two dependencies (one of them is etcd) that have the same proto files -
record.proto
, and because of this there is a conflict. To resolve this conflict, option go_package is needed.Now I have to do this:
os.Setenv("GOLANG_PROTOBUF_REGISTRATION_CONFLICT", "ignore")
or I will get a panic:The text was updated successfully, but these errors were encountered: