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

avrogen generates uncompilable code when namespace ends with ".Avro"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.11.0
    • 1.11.1
    • csharp

    Description

      See reproduction repo: https://github.com/almazik/avrogen-bug-repro

      When the C# namespace ends with ".Avro", the generated code is uncompilable due to the namespace naming collision.

      The generated code should prefix "Avro." namespace declarations with "global::" prefix

       

      Attachments

        Issue Links

          Activity

            People

              almaz Serhii Almazov
              almaz Serhii Almazov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m