Skip to content

Commit

Permalink
Cherry-pick the fix for protocolbuffers#7463.
Browse files Browse the repository at this point in the history
  • Loading branch information
haberman committed May 12, 2020
1 parent b316ce3 commit ccdc12d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions google/protobuf/unittest_proto3_optional.proto
Expand Up @@ -72,4 +72,8 @@ message TestProto3Optional {
optional NestedMessage optional_nested_message = 18;
optional NestedMessage lazy_nested_message = 19 [lazy = true];
optional NestedEnum optional_nested_enum = 21;

// Add some non-optional fields to verify we can mix them.
int32 singular_int32 = 22;
int64 singular_int64 = 23;
}

0 comments on commit ccdc12d

Please sign in to comment.