[protobuf] Any way to stop rename field in codegen?

2018-03-08 Thread ke ren
Hi, 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 bi

[protobuf] Re: Any way to stop rename field in codegen?

2018-03-08 Thread ke ren
, Jon Skeet wrote: > > On Thursday, 8 March 2018 11:41:28 UTC, ke ren wrote: >> >> 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 codge

Re: [protobuf] Re: Any way to stop rename field in codegen?

2018-03-10 Thread ke ren
Thanks! very helpful On Fri, Mar 9, 2018 at 1:46 PM, Jon Skeet wrote: > On Thursday, 8 March 2018 13:51:45 UTC, ke ren wrote: >> >> Thanks to confirm it. will JsonParser use pbr::OriginalName or the field >> name in generated class for json deseriliazation? If it u