Open
Description
Describe the bug
The protobuf marshaller referenced by the API module is not compatible.
Steps to reproduce the issue:
- Create a project and add
require github.com/banzaicloud/istio-operator/api/v2 v2.0.0-20211217152025-f1b654fb609f
to your go.mod. - Use IstioMeshGateway struct in your code.
- Compiling will ultimately fail.
Expected behavior
Compiling should succeed.
Additional context
Line in question is
Maybe it would be a good idea to exclude the gogo/protobuf in all your go.mod and require the waynz0r/protobuf as a dependency in the API go.mod.
Workaround
add a replace github.com/gogo/protobuf => github.com/waynz0r/protobuf v1.3.3-0.20210811122234-64636cae0910
to your project's go.mod.
Metadata
Metadata
Assignees
Labels
No labels