Compare commits
No commits in common. "v3" and "v3.10.5" have entirely different histories.
@ -153,10 +153,6 @@ func (c *jsonpbCodecV2) Marshal(d []byte, v interface{}, opts ...codec.Option) (
|
||||
}
|
||||
}
|
||||
return marshalOptions.MarshalAppend(d[:0], m)
|
||||
case codec.RawMessage:
|
||||
return []byte(m), nil
|
||||
case *codec.RawMessage:
|
||||
return []byte(*m), nil
|
||||
default:
|
||||
return nil, codec.ErrInvalidMessage
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user