[protobuf] "Dynamic" messages

2012-06-04 Thread Tomas Kislan
Hello, i have little problem with "dynamic" messages as i want to send with required message_type, and according to that type i want to send different nested message along it example: message Message { required int64 type = 1; optional NestedMessage = 20; optional AnotherNestedMessage = 21

Re: [protobuf] "Dynamic" messages

2012-06-06 Thread Tomas Kislan
top-level Message only contains NestedMessage, the > initialization code should not be checking the AnotherNestedMessage field > to make sure that that submessage has all required fields populated. Can > you provide a reproduction demonstrating the exception? > > On Sat, Jun 2, 2012 a