[
https://issues.apache.org/jira/browse/AVRO-3003?focusedWorklogId=740080&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-740080
]
ASF GitHub Bot logged work on AVRO-3003:
----------------------------------------
Author: ASF GitHub Bot
Created on: 11/Mar/22 14:37
Start Date: 11/Mar/22 14:37
Worklog Time Spent: 10m
Work Description: zcsizmadia commented on pull request #1596:
URL: https://github.com/apache/avro/pull/1596#issuecomment-1065171807
Please take a look at #1595. It adds many unit tests tfor avrogen and
codegen, including code compilation. Very similar fashion you do in your PR. I
recommend that after #1595 PR is merged, you use that test infrastructure.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 740080)
Remaining Estimate: 0h
Time Spent: 10m
> 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
> Attachments: Status.avsc, Status.cs, Student.avsc, Student.cs
>
> Time Spent: 10m
> 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.1#820001)