Skip to content

Commit f3ee163

Browse files
Chris Martinezcommonsensesoftware
Chris Martinez
authored andcommitted
Remove check for dynamic endpoints. Fixes #678
1 parent 602d4e4 commit f3ee163

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/Microsoft.AspNetCore.Mvc.Versioning/Routing/ApiVersionMatcherPolicy.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,6 @@ public bool AppliesToEndpoints( IReadOnlyList<Endpoint> endpoints )
6767
{
6868
return true;
6969
}
70-
71-
var endpoint = metadata.GetMetadata<IDynamicEndpointMetadata>();
72-
73-
if ( endpoint?.IsDynamic == true )
74-
{
75-
return true;
76-
}
7770
}
7871

7972
return false;

0 commit comments

Comments
 (0)