protocolbuffers.github.io icon indicating copy to clipboard operation
protocolbuffers.github.io copied to clipboard

Invalid Proto3 syntax example in `Protobuf Editions > Overview#Proto3 syntax`

Open Jozott00 opened this issue 7 months ago • 0 comments

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"];
...

Jozott00 avatar Jul 15 '25 07:07 Jozott00