protobuf2uml icon indicating copy to clipboard operation
protobuf2uml copied to clipboard

Field names conflicting with PB keywords

Open lyzzard opened this issue 10 years ago • 0 comments

Hi. This is valid ProtoBuf:

message Status {
    required bool success = 1;
    optional string message = 2;
}

But it generates an error because the name message is a protobuf keyword itself. When the field is renamed, the error goes away. I guess, there needs to be some workaround.

lyzzard avatar Jan 31 '15 00:01 lyzzard