diff --git a/cmd/libs/go2idl/go-to-protobuf/protobuf/generator.go b/cmd/libs/go2idl/go-to-protobuf/protobuf/generator.go index ed826b9c3be..d29e3e4751d 100644 --- a/cmd/libs/go2idl/go-to-protobuf/protobuf/generator.go +++ b/cmd/libs/go2idl/go-to-protobuf/protobuf/generator.go @@ -52,6 +52,7 @@ func (g *genProtoIDL) PackageVars(c *generator.Context) []string { } return []string{ "option (gogoproto.marshaler_all) = true;", + "option (gogoproto.stable_marshaler_all) = true;", "option (gogoproto.sizer_all) = true;", "option (gogoproto.goproto_stringer_all) = false;", "option (gogoproto.stringer_all) = true;",