You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Akrati Kamboj (Jira)" <ji...@apache.org> on 2021/07/07 12:48:00 UTC
[jira] [Commented] (AVRO-2156) Allow custom namespace for C#
generated code
[ https://issues.apache.org/jira/browse/AVRO-2156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17376535#comment-17376535 ]
Akrati Kamboj commented on AVRO-2156:
-------------------------------------
This is not working as it only updates the namespace for the class file. The references between the models are not correct.
> Allow custom namespace for C# generated code
> --------------------------------------------
>
> Key: AVRO-2156
> URL: https://issues.apache.org/jira/browse/AVRO-2156
> Project: Apache Avro
> Issue Type: New Feature
> Components: csharp
> Affects Versions: 1.8.2
> Reporter: Brian Lachniet
> Assignee: Daniel Kulp
> Priority: Major
> Fix For: 1.9.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)