You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A while back a new Go protobuf opaque API was
[introduced](https://go.dev/blog/protobuf-opaque). Code bases wanting to
switch to the opaque API cannot use this plugin at the moment because it
assumes the generated types (which it uses in the tests) are generated
with the open struct API (the default in older versions of protocol
buffers).
In this commit we introduce support for generating code which instead
uses getters and setters so it works with code generated with the Opaque
API (which makes all struct fields private).
This is done via an option with the default being the open struct API
to avoid breaking changes.
0 commit comments