Suppose I have a schema that looks like this:
struct Foo {
union {
bar @0 :Void;
baz @1 :UInt64;
# ...
}
# ...
}
Now suppose I want to add information to union member bar, or I want to add
more fields to baz. What options do I have to do this in a forwards- a
Hi Andrew,
Yes, you got it right. Annoyingly you will have to keep that unused Void in
there, but at least it doesn't take any space on the wire.
-Kenton
On Mon, May 1, 2023 at 4:35 PM 'Andrew Sun' via Cap'n Proto <
capnproto@googlegroups.com> wrote:
> Suppose I have a schema that looks like th