Browse Source

Add a comment about the new "allow_alias" option.

xiaofeng@google.com 12 năm trước cách đây
mục cha
commit
7f4c9e860e
1 tập tin đã thay đổi với 3 bổ sung0 xóa
  1. 3 0
      CHANGES.txt

+ 3 - 0
CHANGES.txt

@@ -17,6 +17,9 @@
     be assigned the same numeric value. Default value is "true". Setting it to
     false causes the compiler to reject enum definitions where multiple symbols
     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++
   * New generated method set_allocated_foo(Type* foo) for message and string