No, unfortunately groups and nested messages have incompatible wire formats, so if you want to convert to proto3 then you will have to first migrate away from the group to a new submessage field.
On Mon, Dec 4, 2017 at 1:51 AM, <[email protected]> wrote: > Hi, > > My goal is to convert existing proto2 to proto3. Unfortunately, there are > group fields. It is not hard to represent them as nested messages. But is > wire format compatible for them? > Will it be possible to achieve backward compatibility? > > Regards, > Gor. > Image already added > > -- > 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.
