[ 
https://issues.apache.org/jira/browse/AVRO-3427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17500755#comment-17500755
 ] 

Paweł Kordowski edited comment on AVRO-3427 at 3/3/22, 1:52 PM:
----------------------------------------------------------------

PR draft with working changes here: [https://github.com/apache/avro/pull/1578] 

 


was (Author: JIRAUSER286033):
Working branch with changes here: 
[https://github.com/kordos/avro/tree/avro-3427-csharp-skip-namespace-directories]

 

> Add command line option to skip creation of directories based on namespace 
> path
> -------------------------------------------------------------------------------
>
>                 Key: AVRO-3427
>                 URL: https://issues.apache.org/jira/browse/AVRO-3427
>             Project: Apache Avro
>          Issue Type: Improvement
>          Components: csharp
>    Affects Versions: 1.11.0
>            Reporter: Paweł Kordowski
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In java each part of the namespace is a separate directory but that's not the 
> case for C#.
> In C# you can have directory name that have many namespaces in it.
> For example:
> {noformat}
> Application.Manager.Api{noformat}
>  can be a single directory name. In Java it would be 3 separate directories 
> and because of that classes are generated under wrong path. it is placed in:
> {noformat}
> /Application/Manager/Api/{noformat}
> but it should be placed like here:
> {noformat}
> /Application.Manager.Api/{noformat}
> I think the best solution would be to add command line option that would skip 
> creation of directories based on namespace and it would just create classes 
> directly in pointed directory.
>  
> Regards,
> Pawel



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

Reply via email to