natemurthy / protobuf-java-format

Automatically exported from code.google.com/p/protobuf-java-format
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Fail for partial build #40

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
JsonFormat performs a build instead of buildPartial. As such if required field 
is missing in base object then it successfully perform merge, however if some 
nested message's required field is missing, merge causes exception. Changing 
build to buildPartial at all the 2 places inside this file should work.

Original issue reported on code.google.com by iitk.ri...@gmail.com on 25 Mar 2012 at 7:54