Is this URL still the official language specification for proto3?
I am encountering several projects that have multi-line, non-quoted text on the rhs of
option assignments, sort of resembling what you would see as an object literal in JavaScript (not JSON, as the keys aren't quoted), but sometimes (not always) with semicolons instead of commas, or sometimes, no separator other than a newline, which is supposedly forbidden in a strLit. I have even seen this in some Google .proto files, and it is vexing me to no end.
For instance, here's a little snippet from googleapis/google/api/http.proto
service Messaging {
rpc UpdateMessage(Message) returns (Message) {
option (google.api.http) = {
patch: "/v1/messages/{message_id}"
body: "*"
};
}
}
The protobufjs parser, pbjs, is usually unhappy with the semicolons, when it's not simply silently failing, but for whatever reason does not complain about the lack of quotes or the newlines. Before I die on this hill, can anyone refer me to a spec addendum that I should know about?
Thanks
Jeff