protoc-gen-map
protoc-gen-map copied to clipboard
protoc-gen-go/generator is deprecated
When executing the binary "go/bin/protoc-gen-map", there is a warning about "protoc-gen-go/generator" to be deprecated:
WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated.
A future release of golang/protobuf will delete this package,
which has long been excluded from the compatibility promise.
Is there an updated or replacement package for this? Is there a plan to fix this in the near future?
Thanks, H
this also concerned me a bit.
I am aware of this change, the generator has moved to the protogen package. Many projects which depended on the generator have this issue (gateway, argo). I am currently refactoring protoc gen map to use carta. this will be available in next release. However, with the deprecation of protoc-gen-go and addition of the protoreflect package, I believe I will tackle this issue in the following release.