Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-2156

Allow custom namespace for C# generated code

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.2
    • 1.9.0
    • csharp
    • None
    • C#: Allow namespace replacements in generated code

    Description

      The namespace used in Avro schemas/protocols does not always map nicely to a standard C# namespace. Avrogen (the C# code generator) currently uses the Avro namespace as the C# namespace. I propose that we update the avrogen utility to allow the user to override the namespace used in the generated code via a command line parameter.

      Attachments

        Issue Links

          Activity

            People

              dkulp Daniel Kulp
              blachniet Brian Lachniet
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: