Skip to content

Commit 5387f3e

Browse files
authored
Add issue comments for two features (#35756)
1 parent b0cf7bc commit 5387f3e

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

aspnetcore/release-notes/aspnetcore-10.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,12 @@ This section describes new features for minimal APIs.
3939

4040
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/MinimalAPIValidationRecordTypes.md)]
4141

42+
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/validation-with-problem.md)]
43+
4244
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/sse.md)]
4345

46+
[!INCLUDE[](~/release-notes/aspnetcore-10/includes/validation-package-move.md)]
47+
4448
## OpenAPI
4549

4650
This section describes new features for OpenAPI.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Validation APIs moved to Microsoft.Extensions.Validation
2+
3+
The validation APIs have moved to the `Microsoft.Extensions.Validation` namespace and NuGet package. This change makes the APIs usable outside of ASP.NET Core HTTP scenarios. The public APIs and behavior remain unchanged—only the package and namespace are different. Existing projects don't require code changes, as old references redirect to the new implementation.
4+
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
### Minimal API Validation integration with IProblemDetailsService
2+
<!-- https://github.com/dotnet/aspnetcore/pull/62066 -->
3+
4+
Error responses from the validation logic for minimal APIs can now be customized by an `IProblemDetailsService` implementation provided in the application services collection (Dependency Injection container). This enables more consistent and user-specific error responses.

0 commit comments

Comments
 (0)