• Clayton Coleman's avatar
    Don't double encode protobuf runtime.Unknown · b9845e7c
    Clayton Coleman authored
    When using runtime.Object and runtime.RawExtension, passing
    runtime.Unknown to protobuf serializer should result in the raw message
    being serialized (since all normal protobuf objects are
    runtime.Unknown).
    
    Also, avoid setting a content-type when decoding a protobuf object
    except when the content appears to be proto.
    b9845e7c
Name
Last commit
Last update
..
json Loading commit data...
protobuf Loading commit data...
recognizer Loading commit data...
streaming Loading commit data...
versioning Loading commit data...
yaml Loading commit data...
codec_factory.go Loading commit data...
codec_test.go Loading commit data...
negotiated_codec.go Loading commit data...
protobuf_extension.go Loading commit data...