protocol-buffersprotobuf-net

How does protocol buffer handle versioning?


How does protocol buffers handle type versioning?

For example, when I need to change a type definition over time? Like adding and removing fields.


Solution

  • Google designed protobuf to be pretty forgiving with versioning:

    however:

    Generally speaking, though - it will just work, and you don't need to worry much about versioning.