Переглянути джерело

Add a comment about the new "allow_alias" option.

xiaofeng@google.com 13 роки тому
батько
коміт
7f4c9e860e
1 змінених файлів з 3 додано та 0 видалено
  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
     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