Skip to content

Clarify difference between .NET 6 and .NET 7 #29059

Closed
@gewarren

Description

@gewarren

Creating this issue based on dotnet/docs#35007 (comment). It's not clear on this page that in .NET 6, non-nullable properties on generic types aren't implicitly required, but in .NET 7, they are. The https://learn.microsoft.com/en-us/aspnet/core/mvc/models/validation?view=aspnetcore-6.0#non-nullable-properties-on-generic-types-and-required-attribute section simply disappears from the page if you change the moniker from .NET 6 to .NET 7.

The OP feels that this is a breaking change, and if so, there is a different process to follow as well.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions