protobuf.js icon indicating copy to clipboard operation
protobuf.js copied to clipboard

fix: support for nested messages and enums within group blocks

Open JoshuaWise opened this issue 3 years ago • 0 comments

This fixes support for proto files that have nested messages or enums declared within groups, like this:

syntax = "proto2";

message Foo {
  repeated group Field = 1 {
    message Bar {
      optional bool my_bool = 2;
    }

    optional string my_string = 3;
    optional Bar my_bar = 4;
  }
}

JoshuaWise avatar Jan 31 '22 18:01 JoshuaWise