[ https://issues.apache.org/jira/browse/AVRO-3003?focusedWorklogId=758715&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-758715 ]
ASF GitHub Bot logged work on AVRO-3003: ---------------------------------------- Author: ASF GitHub Bot Created on: 19/Apr/22 18:20 Start Date: 19/Apr/22 18:20 Worklog Time Spent: 10m Work Description: martin-g commented on PR #1596: URL: https://github.com/apache/avro/pull/1596#issuecomment-1102950892 Thank you, @massada ! Issue Time Tracking ------------------- Worklog Id: (was: 758715) Time Spent: 2h (was: 1h 50m) > 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: 2h > 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)