Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

protoc-gen-go/generator is deprecated #7

Open
hblok opened this issue Jun 19, 2020 · 2 comments
Open

protoc-gen-go/generator is deprecated #7

hblok opened this issue Jun 19, 2020 · 2 comments

Comments

@hblok
Copy link

hblok commented Jun 19, 2020

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
Copy link

elmgone commented Jun 26, 2020

this also concerned me a bit.

@jackskj
Copy link
Owner

jackskj commented Jul 7, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants