You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2021/12/13 10:16:00 UTC

[jira] [Assigned] (AVRO-3265) avrogen generates uncompilable code when namespace ends with ".Avro"

     [ https://issues.apache.org/jira/browse/AVRO-3265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Skraba reassigned AVRO-3265:
---------------------------------

    Assignee: Serhii Almazov

> avrogen generates uncompilable code when namespace ends with ".Avro"
> --------------------------------------------------------------------
>
>                 Key: AVRO-3265
>                 URL: https://issues.apache.org/jira/browse/AVRO-3265
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.11.0
>         Environment: Using avrogen version 1.11.0:
> {code:java}
> dotnet tool install Apache.Avro.Tools --global 
> You can invoke the tool using the following command: avrogen
> Tool 'apache.avro.tools' (version '1.11.0') was successfully installed.
> {code}
>  
>            Reporter: Serhii Almazov
>            Assignee: Serhii Almazov
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)