Skip to content

Map field is generated as repeated #25

@taltcher

Description

@taltcher

I have a protobuf message I have created:

message Message {
  ...
  map<string, string> properties = 6;
}

But when running the script on that message, the outcome generated is:

message Message {
  ...
  repeated PropertiesEntry properties = 6;

  message PropertiesEntry {
    string key = 1;
    string value = 2;
  }
}

Instead of map

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