Remove invalid claim that Protocol Buffers does not support unions (#6413)
authorJuan Cruz Viotti <jv@jviotti.com>
Thu, 21 Jan 2021 20:23:54 +0000 (16:23 -0400)
committerGitHub <noreply@github.com>
Thu, 21 Jan 2021 20:23:54 +0000 (12:23 -0800)
Protocol Buffers v3 supports the `oneof` operator:
https://developers.google.com/protocol-buffers/docs/proto3#oneof

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
docs/source/FlatBuffers.md

index 2a2133f..bbd2cb0 100644 (file)
@@ -64,8 +64,8 @@ Protocol Buffers is indeed relatively similar to FlatBuffers,
 with the primary difference being that FlatBuffers does not need a parsing/
 unpacking step to a secondary representation before you can
 access data, often coupled with per-object memory allocation. The code
-is an order of magnitude bigger, too. Protocol Buffers has neither optional
-text import/export nor schema language features like unions.
+is an order of magnitude bigger, too. Protocol Buffers has no optional
+text import/export.
 
 ### But all the cool kids use JSON!