CMertens / protobuf-net

Automatically exported from code.google.com/p/protobuf-net
Other
0 stars 0 forks source link

ProtoContractAttribute is sealed #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful to be able to inherit from it if the framework supported it. 
For example, I would like to create my own network communication library where 
the serialization mechanism is protobuf-net, and would like to decorate 
messages with my own attributes, which would inherit from yours and add 
specific metadata.

Original issue reported on code.google.com by simone.b...@gmail.com on 17 Jul 2011 at 9:30

GoogleCodeExporter commented 9 years ago
Options without needing change:

- use two sets of attributes rather than inheritance
- configure protobuf-net at runtime based on your attributes (everything can be 
specified at runtime in v2

For a few tricky reasons, this would not be entirely trivial to just un-seal

Original comment by marc.gravell on 14 Mar 2012 at 11:35

GoogleCodeExporter commented 9 years ago

Original comment by marc.gravell on 16 Jan 2013 at 9:36