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

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

Commit 3d23a1621558627532cd2f8417c19e59b8bec6e7 in avro's branch 
refs/heads/branch-1.11 from Jose Massada
[ https://gitbox.apache.org/repos/asf?p=avro.git;h=3d23a1621 ]

AVRO-3003: Fully qualify enum default value in C# code gen (#1596)

(cherry picked from commit 3c3c05edf519ce41060c0534f0099c32f5bd8989)


> c# apache avro codegen - default value for enum types are not setting up 
> properly
> ---------------------------------------------------------------------------------
>
>                 Key: AVRO-3003
>                 URL: https://issues.apache.org/jira/browse/AVRO-3003
>             Project: Apache Avro
>          Issue Type: Bug
>          Components: csharp
>    Affects Versions: 1.10.1
>            Reporter: sumanth paluru
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: Status.avsc, Status.cs, Student.avsc, Student.cs
>
>          Time Spent: 1h 50m
>  Remaining Estimate: 0h
>
> default value for enum types are not setting up properly, the namespaces are 
> not resolved on setting the value.
> example :
> private com.test.school.app.enums.Status _status = Status.Unknown
> we are getting build issue because the namespace is not resolved ofe the 
> Unknown value which is set.
> I have attached the sample avro files and c# model 
> generated.[^Student.avsc][^Status.avsc][^Status.cs][^Student.cs]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to