close
Skip to content

Support --root-type when compiling from proto #9055

@BANOnotIT

Description

@BANOnotIT

--root-type should generate root_type Something; line when used in --proto mode

Expected

flatc --proto --root-type Something some.proto

should build some.fbs that contains line root_type Something;

Actual

--root-type has not effect at all

Workaround

flatc --proto some.proto
echo "root_type Something;" >> some.fbs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions