I am trying to migrate our project to protobuf and find one annoying feature in protobuf c# codegen. It will automatically rename the field name defined in proto during codgen to fit camel convention. For example, NURBSSurface will be renamed to Nurbssurface, XRay to Xray etc. It causes big naming changes in code and back compatibility issue with old data format which is field name case senstitive. Is there any way to stop codegen renaming?
Thanks to confirm it. will JsonParser use pbr::OriginalName or the field name in generated class for json deseriliazation? If it uses the field name, probably it would work. Otherwise, probably have to consider data deser bridge or something.
--
You received this message because you are subscribed to a topic in the Google Groups "Protocol Buffers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/protobuf/HeTwIRb7DCs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to protobuf+unsubscribe@googlegroups.com.
To post to this group, send email to prot...@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.