Re: [protobuf] Message Migration Practice?

2016-02-16 Thread Vince
How to migrate when the schema structure change? I'm talking about fields moving of a schema of a serialization file that needs to be migrated. On Monday, September 10, 2012 at 11:11:45 PM UTC-4, Jason Hsueh wrote: > > The general practices for changing messages are listed here: >

[protobuf] Re: Handle data migration. e.g. moving of field - Java

2016-02-16 Thread Vince
I'm facing the exact same problem. Did you find any way to migrate data with PB? The only way I can think of is to keep generated code of each schema version and program the migration with that. On Thursday, May 8, 2014 at 4:39:50 PM UTC-4, Klaus Kraft wrote: > > Hi, > > so far I have defined

[protobuf] Re: Type migration?

2016-02-16 Thread Vince
I'm facing the exact same problem. Did you find any way to migrate data with PB? The only way I can think of is to keep generated code of each schema version and program the migration with that. The link provided by Alkis treats only cases to add/remove fileds, but that not enough when the