Yes, renaming fields is a wire compatible change. You might break things
that use human readable formats like TextFormat, and of course any code that
references the old field name.

On Thu, Nov 18, 2010 at 1:56 PM, Cameron <[email protected]>wrote:

> I'm pretty sure I already know the answer to this, but I haven't found
> it spelled out anywhere so I wanted to ask to be sure:
>
> Can you change or rename a field name without affecting backwards
> compatibility?
>
> I assume the answer is yes because you qualify a field with a tag
> number. Field names are just for the compiled java/cpp/py files that
> are generated, correct?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Protocol Buffers" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<protobuf%[email protected]>
> .
> 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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to