protocolbuffers.github.io
protocolbuffers.github.io copied to clipboard
Invalid Proto3 syntax example in `Protobuf Editions > Overview#Proto3 syntax`
In the overview of Protobuf Editions is a proto3 example that uses the removed default syntax:
syntax = "proto3";
...
message Player {
// in proto3, optional fields have explicit presence
optional string name = 1 [default = "N/A"];
...