kotlinx.serialization icon indicating copy to clipboard operation
kotlinx.serialization copied to clipboard

Add support for capturing unknown fields in protobuf

Open Egorand opened this issue 6 years ago • 1 comments

It's my understanding that during proto deserialization the fields that don't match any @SerialId tags get discarded. It would be useful to allow capturing these fields in a ByteArray so that they can be persisted and deserialized at a later point in time when the schema gets updated.

Egorand avatar Mar 05 '19 03:03 Egorand

Are there any updates? Unknown fields are useful for synchronizing data.

robxyy avatar Mar 24 '22 06:03 robxyy