Yes, absolutely. The schemas do not even have to be exactly the same, and in fact protobuf is designed to allow the schema to evolve in a compatible way. The most important thing is just to never reuse the same field number with incompatible types.
On Fri, Jan 18, 2019 at 2:30 AM Nikita Vorobyev <[email protected]> wrote: > Hi all! > > Is protobuf compiler-neutral? Will I be able to deserialize message with > code, generated by compiler of version X, if this message was serialized > with compiler of version Y? Version of syntax and schemes will be obviously > the same on both sides. > > Thanks in advance. > > Nikita. > > -- > 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. > -- 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.
