Details
Description
Hi all,
It looks like Apache.Avro nuget v1.11.0 fails to recognize variable types correctly. Outgoing variable types don't match incoming types.
I've created a simple roundtrip app to reproduce it. Here are the steps:
- Create a .NET6 console app using MSVS2022
- Install Apache.Avro nuget
- Import the attached file called "Program.cs"
- Run the project
- Check the console output
TLDR: There's a field called "Property" that can be either double or long. I assign a long value, convert the object to bytes, convert it back, and for some reason the said field becomes double.
I consider this issue to be of critical importance, as it may lead to data loss.
Attachments
Attachments
Issue Links
- links to