kshchepanovskyi / protostuff-googlecode-exported

Automatically exported from code.google.com/p/protostuff
Apache License 2.0
0 stars 1 forks source link

Option for java_v2protoc_schema to de/serialize enums by name #125

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The java_v2protoc_schema will always ser/deser enums using their numeric 
values. 
Protobuf enums are versioned that way hence its highly recommended to write 
using their number values. 

Feel free to put up an issue (enchancement) for a new java_v2protoc_schema 
compiler option that generates code specifically to ser/deser enums via their 
name. 

https://groups.google.com/group/protostuff/browse_thread/thread/7bbe8b473ffc275b

Original issue reported on code.google.com by vitaly...@yahoo.com on 6 Jun 2012 at 1:39

GoogleCodeExporter commented 9 years ago
added @ r1546

Original comment by david.yu...@gmail.com on 5 Jul 2012 at 1:10