Skip to content

Support cyclically referenced fields #2

@clickingbuttons

Description

@clickingbuttons

According to a Flatbuffers maintainer (and the reference C++ impl) cyclical referencing tables are possible.

This means for the object API this:

const Foo = struct {
    foo: ?Foo,
};

should change to this:

const Foo = struct {
    foo: ?*Foo,
};

and the init allocations should change too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions