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

ASF subversion and git services commented on AVRO-3427:
-------------------------------------------------------

Commit 5b055ac43085b11e467acd66c8630f424b1af50e in avro's branch 
refs/heads/master from kordos
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=5b055ac43 ]

AVRO-3427: skip creation of namespace directories for csharp schema (#1578)

* Add new argument parameter --skip-directories. It will skip creation of 
directories for namespace. Just generate classes in output directory

* Add missing doc param description

* Fix Unit tests after merge with master

* Fix Unit tests after merge with master

* C# Add unit tests for --skip-directories option

Co-authored-by: Pawel Kordowski <[email protected]>

> 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
>            Assignee: Paweł Kordowski
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 14h
>  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.7#820007)

Reply via email to