-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AVRO-3459 use keywords instead of struct types #1607
base: main
Are you sure you want to change the base?
Conversation
This reverts commit b8601c0.
This seems to be breaking change for some users. The generated code should not be different by default. If a user does some post processing on the generated code, this will potentially break them. Maybe a future --nullable option to avrogen, however I am not sure I see the actual benefit. Beside maybe the generated code looks more modern, but the compiled code will be pretty much identical. Is there any known benefit making those changes in the generated code? |
@zcsizmadia I'm running into a problem with nested records. I was actually thinking about creating a targeted C# version (--csharp-version 7.3) as an option for avrogen. Let me switch this to draft and think about how I want to change it up. I reached out to you on the ASF slack about this PR. |
Could you post the actual schema which gives you trouble? Maybe there is another solution for your problem. |
|
What is the issue with that schema? |
It will generate the following. Specifically the type for _someField
|
Is there anything wrong with the current code generation? |
The type is @int |
Hmmmm. I am confused. My avrogen installed from nuget.org generates this:
|
Jira
Tests
Commits
Documentation