From b1ea15f7a5480fe946165b0257de4981edca1c82 Mon Sep 17 00:00:00 2001 From: Jon Skeet Date: Fri, 15 Jan 2016 14:18:16 +0000 Subject: Make sure that "valueField": null is parsed appropriately, i.e. that it remembers that the field is set. --- src/google/protobuf/unittest_well_known_types.proto | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/google/protobuf/unittest_well_known_types.proto') diff --git a/src/google/protobuf/unittest_well_known_types.proto b/src/google/protobuf/unittest_well_known_types.proto index 2cb7775c..c9075244 100644 --- a/src/google/protobuf/unittest_well_known_types.proto +++ b/src/google/protobuf/unittest_well_known_types.proto @@ -39,6 +39,8 @@ message TestWellKnownTypes { google.protobuf.BoolValue bool_field = 16; google.protobuf.StringValue string_field = 17; google.protobuf.BytesValue bytes_field = 18; + // Part of struct, but useful to be able to test separately + google.protobuf.Value value_field = 19; } // A repeated field for each well-known type. -- cgit v1.2.3