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
Looks like we have switched tooling to gateway/v2, my ‘make protobuf’ broke as infoblox/atlas-gentool:latest emits gateway/v2 stubs. I tried to covert my app to use the new app-toolkit, it compiles but takes a run time error:
proto: extension number 1042 is already registered on message google.protobuf.FileOptions
The init of the library was registering extension that was causing the problem,
with that change I can run my application now. I am logging this with the gentool but might require additional
supporting atlas app toolkit.
The text was updated successfully, but these errors were encountered:
Looks like we have switched tooling to gateway/v2, my ‘make protobuf’ broke as infoblox/atlas-gentool:latest emits gateway/v2 stubs. I tried to covert my app to use the new app-toolkit, it compiles but takes a run time error:
See https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict
I created a new atlas app using:
I built and ran this app and it gave me the same panic message.
I debugged this problem, Proto ExtensionType being registered that throws error is:
I removed the following import from my ‘service.pb.go’ auto-generated code:
_ "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-swagger/options"
The init of the library was registering extension that was causing the problem,
with that change I can run my application now. I am logging this with the gentool but might require additional
supporting atlas app toolkit.
The text was updated successfully, but these errors were encountered: