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
The namespace and filename need to be different than the file
these were copied and regenerated from to make the proto registry
not error out on initialization.
Fixes: googleapis#10155
@sg0hsmt thanks for reporting this. It looks like @codyoss has a potential fix out, but it has some risks. We will continue to consider that, but in the meantime, the Protobuf documentation has some workarounds at the application level, but runtime and build time mitigations: https://protobuf.dev/reference/go/faq/#fix-namespace-conflict
Can you try one of those? Will that work for the time being? Thanks.
The namespace and filename need to be different than the file these were copied and regenerated from to make the proto registry not error out on initialization.
Usually it is not good to use a new package name in protos but I believe it is fine here since these are just simple message types being declared and not a service.
Fixes: #10155
Client
datastore
Environment
Go executable on Linux
Go Environment
Code
Expected behavior
Hello, World!
will be displayed.Actual behavior
A panic will occur.
Additional context
Importing google.golang.org/appengine/v2 with datastore v1.16.0 or later causes a protobuf namespace conflict.
related: #7760, #9744
The text was updated successfully, but these errors were encountered: