-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Closed
Labels
area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-validationIssues related to model validation in minimal and controller-based APIsIssues related to model validation in minimal and controller-based APIs
Description
To support using the unified resolver APIs in more scenarios, we would like to move them to a new package instead of the Http.Abstractions package. To do this, we must:
- Create a new
src/Validationdirectory that contains aMicrosoft.Extensions.Validationproject. - Move the code from https://github.com/dotnet/aspnetcore/tree/main/src/Http/Http.Abstractions/src/Validation into the new directory under
src/Validation/src. - Move the code from https://github.com/dotnet/aspnetcore/tree/main/src/Http/Http.Abstractions/test/Validation into a new directory under
src/Validation/test/Microsoft.Extensions.Validation.Tests. - Move the code from https://github.com/dotnet/aspnetcore/tree/main/src/Http/Http.Extensions/gen/Microsoft.AspNetCore.Http.ValidationsGenerator into a new directory under
src/Validation/gen. - Move the tests from https://github.com/dotnet/aspnetcore/tree/main/src/Http/Http.Extensions/test/ValidationsGenerator into a new directory under
src/Validation/test/Micorosft.Extensions.Validation.ValidationsGeneratortests. - Update eng/ProjectReferences.props to reference the newly created project.
- Create a new
src/Validation/Validations.slnffile for the project.
Copilot
Metadata
Metadata
Assignees
Labels
area-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-validationIssues related to model validation in minimal and controller-based APIsIssues related to model validation in minimal and controller-based APIs