Closed martincostello closed 5 days ago
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.
NotSupportedException
ModelMetadata.ElementType
Microsoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported
Found while investigating #3153.
Fix
NotSupportedException
being thrown with .NET 9 when accessingModelMetadata.ElementType
in a native AoT application due toMicrosoft.AspNetCore.Mvc.ApiExplorer.IsEnhancedModelMetadataSupported
being disabled.Found while investigating #3153.