chronoxor / FastBinaryEncoding

Fast Binary Encoding is ultra fast and universal serialization solution for C++, C#, Go, Java, JavaScript, Kotlin, Python, Ruby, Swift
https://chronoxor.github.io/FastBinaryEncoding
MIT License
827 stars 86 forks source link

Versioning with Struct inheritance? #64

Closed hassila closed 2 years ago

hassila commented 2 years ago

Is it supported to extend a struct that one inherits from? Also in multiple levels?

Its not clear from the documentation as versioning is only done on "simple" structs.

chronoxor commented 2 years ago

Yes it's possible to extend both parent and child struts by adding new fields.

hassila commented 2 years ago

Awesome, thanks!