-
Notifications
You must be signed in to change notification settings - Fork 175
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
golanglint can't pass #463
Comments
I'm afraid I have no intention of changing this right now. This package was built on top of the v1 API of the protobuf runtime, which are the packages in I don't plan on addressing this until I create a v2 of this repo. The v2 of the protobuf runtime (in |
Thanks for the explanation. Might be useful context to add to the main project On a related topic, I'm wondering if you have any suggestions on general guidance on interop. For example, a code base I'm working in is heavily using v2 types internally. I am looking at your awesome library (thank you for all the great work!) as a way to be able to handle the processing of protobuf types dynamically. There is a need to convert from a the v1 |
@btiernay, sorry I never replied to that last comment. You can easily convert between the V1 and V2 message types using helper functions in the As far as using the protobuf types dynamically, the V1 API now provides support for that in its |
@btiernay, you may have already seen it, but v1.15 introduced some major changes that should make interop between this module and the It was a sizable change, and several regressions have been reported, which have been fixed in the subsequent patch releases. (In fact, I expect another 1.15.6 later this week, maybe even today.) |
SA1019: package github.com/golang/protobuf/jsonpb is deprecated: Use the "google.golang.org/protobuf/encoding/protojson" package instead.
The text was updated successfully, but these errors were encountered: