ch-robinson / dotnet-avro

An Avro implementation for .NET
https://engineering.chrobinson.com/dotnet-avro/
MIT License
132 stars 49 forks source link

Fix binary record deserializer delegate return type #306

Closed dstelljes closed 4 months ago

dstelljes commented 4 months ago

Using the underlying type as the return type for the record delegate prevents a deserializer from building for nullable structs. This was likely a typo from when the resolution framework was removed in 8.0.0; the same code in the JSON deserializer builder does not have the defect.