▲ | swiftcoder 7 days ago | ||||||||||||||||
> We use the version number to run a series of steps on each proto to upgrade old fields to new ones It sounds like you've built your own back-compat functionality on top of protobuf? The only functionality protobuf is giving you here is optional-by-default (and mandatory version numbers, but most wire formats require that) | |||||||||||||||||
▲ | tyleo 6 days ago | parent [-] | ||||||||||||||||
Yeah, I’d probably say something more like, “we leverage protobuf built ins to make a slightly more advanced back compat system” We do rename deprecated fields and often give new fields their names. We rely on the field number to make that work. | |||||||||||||||||
|