Open
Description
protobuf.js version: 6.8.8
Hi, I am using proto with comments like below, But what I am confused is that the attribution of the notes is confusing.
message HelloWorldError {
// @required
int32 code = 1; // some comment belongs to `code`
// @required
string message = 2;
}
{
"nested": {
"HelloWorldError": {
"fields": {
"code": {
"type": "int32",
"id": 1,
"comment": "@required"
},
"message": {
"type": "string",
"id": 2,
"comment": "some comment belongs to `code`\n@required" // It's wrong here
}
},
"comment": null
}
}
}``