dotnet / dotnet/EntityFramework.Docs

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

Open
#3,575 0 comments 2 reactions 1 assignee Assigned to @AndriySvyryd View on GitHub
area-global
Dominant language
Mermaid
Stars
1.7k
Forks
2k
Avg merge
7d 23h
Merged PRs (30d)
16

Description

Now that .NET 6 includes `enable` 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](https://docs.microsoft.com/en-us/ef/core/get-started/overview/first-app?tabs=netcore-cli)-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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.