Re: [protobuf] Generating an (C#) Interface and extendable data model from .proto, namespacing and inheritence

2017-05-30 Thread KarrokDC
Hey Marc, Thanks for the feedback. I'm currently mangling the "official" proto C# generator that was recently ported from https://github.com/jskeet/protobuf-csharp-port by Jon Skeet and brought into the google proto mainline @ https://github.com/google/protobuf/tree/master/csharp As for an ex

Re: [protobuf] Generating an (C#) Interface and extendable data model from .proto, namespacing and inheritence

2017-05-30 Thread Marc Gravell
I can't speak for the design choices - but *as I understand it*, the key point of protobuf is to enable things to work well cross-platform. That means that at the DTO level, things need to be *possible* to implement in a wide range of languages, and the reality is that not all frameworks would allo

[protobuf] Generating an (C#) Interface and extendable data model from .proto, namespacing and inheritence

2017-05-30 Thread KarrokDC
Hi all, I was wondering if any thought has gone into generating an interface to go along with the generated data classes from a proto. And if it had been considered were there any reasons to not do it? Quick sketch of my current situation: I have a project that has a complex and messy internal