[protobuf] Re: Versioning Protobuf files

2012-06-14 Thread users ....
I agree the hash exists,but I was looking for an option to actually put data on the wire. Similar to the Java implemented WriteDelimeted functions a WriteVersioned, such that the information is prepended. We can put the information you listed in a message and prepend it ourselves. This works

Re: [protobuf] Re: Versioning Protobuf files

2012-06-13 Thread Nader Salehi
You can already do this. Get the File Descriptor Set of the .proto then create its hash value. We use the same technique in our dev environment. On Jun 13, 2012 8:39 AM, "users " wrote: > hi, > > This is actually a little more complicated than just version. There are > times I actually wa

[protobuf] Re: Versioning Protobuf files

2012-06-13 Thread users ....
hi, This is actually a little more complicated than just version. There are times I actually want to process with an old proto file and ignore new fields added by some new development. This feature is one of the many that made Protobuf attractive to our development needs. I think a better