Re: [protobuf] Inheriting protobuf messages

2018-09-03 Thread Marc Gravell
I'm going to share some thoughts here simply for discussion purposes - I don't expect them to be directly applicable. FWIW, protobuf-net has spoofed inheritance for many many years. I'm able to do this because protobuf-net only needs to target .NET, which has good inheritance support. I don't

Re: [protobuf] Inheriting protobuf messages

2018-09-03 Thread SangemV
I see two problems with this approach. It is neither cut & paste nor personal preference issue as I see. The real issues I see are: 1) The base message (MSG in the example) and the extended message (MSG2 in the example ) can belong to different package owned by different group/org. The

Re: [protobuf] Inheriting protobuf messages

2018-09-03 Thread SangemV
I see two problems with this approach. It is neither cut & paste nor personal preference issue as I see. The real issues I see are: 1) The base message (MSG in the example) and the extended message (MSG2 in the example ) can belong to different package owned by different group/org. The

Re: [protobuf] Inheriting protobuf messages

2018-09-03 Thread SangemV
I see two problems with this approach. It is neither cut & paste nor personal preference issue as I see. The real issues I see are: 1) The base message (MSG in the example) and the extended message (MSG2 in the example ) can belong to different package owned by different group/org. The