jackskj / protoc-gen-map

SQL Data mapper framework for grpc/protobuf
Apache License 2.0
128 stars 11 forks source link

protoc-gen-go/generator is deprecated #7

Open hblok opened 4 years ago

hblok commented 4 years ago

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

elmgone commented 4 years ago

this also concerned me a bit.

jackskj commented 4 years ago

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.