tags:

views:

85

answers:

1

Hello, I just replaced .NET serialization with protocol buffers in a distributed cache application and the results are really impressive. The only thing I do not like is the fact that I need to add dependencies between a base message class and its children which creates a circular dependency. Is there an alternative to tagging base class with ProtoInclude?

A: 

Sorry, I missed this yesterday.

At the moment, no; [ProtoInclude] is the only way to support inheritance. There is an in-progress and far-from-complete version that allows you to define the relationships separately, but this is nowhere near usable at the moment. Sorry.

I don't have an ETA on it, I'm afraid.

Marc Gravell
Thank you very much for your answer
dan ionescu