RawExtension.Raw json:"-"

This commit is contained in:
jennybuckley 2019-08-01 15:48:44 -07:00 committed by Jennifer Buckley
parent 269183a7a8
commit d26b3195ff

View File

@ -95,7 +95,7 @@ type RawExtension struct {
// Raw is the underlying serialization of this object. // Raw is the underlying serialization of this object.
// //
// TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data. // TODO: Determine how to detect ContentType and ContentEncoding of 'Raw' data.
Raw []byte `protobuf:"bytes,1,opt,name=raw"` Raw []byte `json:"-" protobuf:"bytes,1,opt,name=raw"`
// Object can hold a representation of this extension - useful for working with versioned // Object can hold a representation of this extension - useful for working with versioned
// structs. // structs.
Object Object `json:"-"` Object Object `json:"-"`