Skip to content

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

@Jozott00

Description

@Jozott00

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions