Hi,

I have a similar problem with this one 
<https://stackoverflow.com/questions/26810188/protocol-buffers-and-enums-combinations>.
 
Now I'd like to change an Enum to an int32, but I'm wondering if it's a 
safe and compatible change?

>From this section 
<https://developers.google.com/protocol-buffers/docs/proto#updating>, it 
seems to only mention 'int32, uint32, int64, uint64, and bool are all 
compatible'. But from this section 
<https://developers.google.com/protocol-buffers/docs/encoding#structure>, 
it seems 'int32, int64, uint32, uint64, sint32, sint64, bool, enum' are 
using the same wire format. So is enum and int32 compatible?

-- 
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 protobuf+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/a4c61eaa-ca14-4ef3-8cb3-b0a54ed27c77n%40googlegroups.com.

Reply via email to