Skip to content

Nested messages #2

Description

@lyzzard

When two message definitions are nested one inside the other, the inner one is translated like a part of the outer's label, creating a syntax error.

message User {

    message Attributes {
        optional fixed32 created_at = 1;
        optional fixed32 updated_at = 2;
    }

    optional uint32 id = 1;
    optional string name = 2;
    optional Attributes attributes = 3;
}

Not sure how this should be visualized, though.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions