Re: [protobuf] Modify the payload of a dynamic generated message

2019-07-11 Thread Mihai Muraru
Hi all. Problem solved. I have used Reflection->GetMutableMessage(_modified_msg, field_descriptor, index) to get a not const message which then I've passed it to the recursive function ParseProtobufMessage(_proto_msg.get(), _modified_msg, _proto_msg-> GetTypeName()); Thanks! On Wednesday, Jul

Re: [protobuf] Modify the payload of a dynamic generated message

2019-07-09 Thread Mihai Muraru
Hi Cozzette, I've attached all files. Maybe it will help you to help me . Thank you! Remember that the problems is only with Repeated fields. On Tuesday, July 9, 2019 at 11:27:02 PM UTC+3, Adam Cozzette wrote: > > My guess would be that there's a lifetime issue involving > DynamicMessageFactory