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: > https://developers.google.com/protocol-buffers/docs/proto#updating. > > > On Wed, Sep 5, 2012 at 7:04 PM, Minhyuk Kwon <[email protected] > <javascript:>> wrote: > >> Hello, >> >> I have plan for introducing protobuf to in our products for passing >> information of product's input project file structure. >> And this information may frequently upgrade near future(via product >> version upgrade). >> >> So, I have a question. >> If I remove old field from message and add new field, Can I (auto)migrate >> without breaking change? >> And if you guys have(or know) document for this kind practice, please let >> me know. >> >> >> Regards, >> >> -Kwon >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Protocol Buffers" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/protobuf/-/Jka1u_famjkJ. >> To post to this group, send email to [email protected] >> <javascript:>. >> To unsubscribe from this group, send email to >> [email protected] <javascript:>. >> For more options, visit this group at >> http://groups.google.com/group/protobuf?hl=en. >> > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
