Conerlius / protobuf-net

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

NonGeneric GetProto & GetProto read ProtoInclude attributes. #116

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
introduction,
first of all thanks Marc for the great project.
I have switch my system to work with protobuf serialization to aid 
cross-platform modules. I am building a .net2protobuf tunnel in .net for 
multiple types using reflection via your NonGeneric Class. During the build I 
have encounter with two necessities.

1. NonGeneric GetProto that will construct the .proto file from object type. (I 
am using the .proto to create java and python classes in run-time via protoc)
something like "Serializer.NonGeneric.GetProto(type )"

2. Will GetProto in the future will include the ProtoInclude attributes to 
allow deserialization of inheritance in other languages(python). for now I am 
building the .proto file manually with the protoinclude attributes.

Thank for your help and dedication
Niv

Original issue reported on code.google.com by nivmi...@gmail.com on 23 Jun 2010 at 9:01