Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix NotSupportedException in AoT project
Fix `NotSupportedException` being thrown with .NET 9 when accessing `ModelMetadata.ElementType` in a native AoT application due to `Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported` being disabled.
- Loading branch information