Only IHttpRouteConstraint and string are supported. Especially with attribute routing, we shouldn't wait until a matching request comes in to tell the developer about the incorrect app code.
Comments: Last part of the fix is in 07812eec4ac37f5a18bca90b0ed44b67d2827366
Comments: Last part of the fix is in 07812eec4ac37f5a18bca90b0ed44b67d2827366