ch-robinson / dotnet-avro

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

Use built-in `NullabilityInfoContext` when available #275

Closed dstelljes closed 1 year ago

dstelljes commented 1 year ago

184 introduced support for nullable reference types. Since NullabilityInfoContext wasn’t available prior to .NET 6, we shipped a fallback implementation in Chr.Avro. Now that the library includes a net6 target, we should use the runtime implementation.