protobuf.js/tests/data/cli/null-defaults.proto
Simon Lipp 6e713baf54
feat: add null-defaults option (#1611)
* feat: add null-defaults option

* fix: linting

Co-authored-by: Alexander Fenster <github@fenster.name>
Co-authored-by: Alexander Fenster <fenster@google.com>
2021-05-07 20:29:36 -07:00

12 lines
181 B
Protocol Buffer

syntax = "proto2";
message OptionalFields {
message SubMessage {
required string a = 1;
}
optional SubMessage a = 1;
optional string b = 2;
optional uint32 c = 3;
}