Eduardo Semprebon created AVRO-2884:
---------------------------------------

             Summary: C# - Generated code naming conventions not compliant
                 Key: AVRO-2884
                 URL: https://issues.apache.org/jira/browse/AVRO-2884
             Project: Apache Avro
          Issue Type: Improvement
          Components: csharp, tools
    Affects Versions: 1.10.0
            Reporter: Eduardo Semprebon


In our usage scenario, we generate Java and C# code bindings from an avro 
schema.

The avdl uses naturally camelCasing for field names.

C# language uses PascalCasing for any public field. Working with camel case 
properties in C# really doesn't look good =]

I believe the change is simple, we can simply upper case the public fields 
first characters in the presence of some argument in avrogen's command line.

Suggestion: --namingpolicy pascalcase

 

I can create a PR for this if the idea is approved.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to