EntityFramework.Docs icon indicating copy to clipboard operation
EntityFramework.Docs copied to clipboard

All EF Core examples should use NRTs (nullable reference types) since that's now the default in .NET 6

Open cwe1ss opened this issue 4 years ago • 0 comments
trafficstars

Now that .NET 6 includes <Nullable>enable</Nullable> in the templates, it would be great if all the docs for EF Core could respect that as well.

Right now, if you follow e.g. the Getting started-tutorial, the app will raise compiler warnings for the non-null model properties etc.

I'm sure this will be confusing for people new to .NET / EF Core.

cwe1ss avatar Nov 20 '21 13:11 cwe1ss