Commit 7f4c9e86 authored by xiaofeng@google.com's avatar xiaofeng@google.com

Add a comment about the new "allow_alias" option.

parent 7fe28a89
...@@ -17,6 +17,9 @@ ...@@ -17,6 +17,9 @@
be assigned the same numeric value. Default value is "true". Setting it to be assigned the same numeric value. Default value is "true". Setting it to
false causes the compiler to reject enum definitions where multiple symbols false causes the compiler to reject enum definitions where multiple symbols
have the same numeric value. have the same numeric value.
Note: We plan to flip the default value to "false" in a future release.
Projects using enum aliases should set the option to "true" in their .proto
files.
C++ C++
* New generated method set_allocated_foo(Type* foo) for message and string * New generated method set_allocated_foo(Type* foo) for message and string
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment