aspnetcore/test
Ryan Nowak d360886b78 Fix #7558 infer [FromRoute] with parameter in ANY route
This changes the logic for when we infer [FromRoute] on an action
parameter from *ALL* to *ANY*.

This means that if a parameter occurs in any route on an ApiController,
we will treat it as [FromRoute]. We think this is the best decision
because it's less ambiguous. If a parameter appears in a route, it won't
be eligible to be bound from query. I think that's good.

If for some reason you want this kind of behavior (route or query) then
we suggest breaking up the actions. This isn't very documentation
friendly (swagger) so we don't suggest it.
2018-03-29 07:54:39 -07:00
..
Microsoft.AspNetCore.Mvc.Abstractions.Test Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
Microsoft.AspNetCore.Mvc.Analyzers.Test
Microsoft.AspNetCore.Mvc.ApiExplorer.Test
Microsoft.AspNetCore.Mvc.Core.Test Fix #7558 infer [FromRoute] with parameter in ANY route 2018-03-29 07:54:39 -07:00
Microsoft.AspNetCore.Mvc.Cors.Test
Microsoft.AspNetCore.Mvc.DataAnnotations.Test Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
Microsoft.AspNetCore.Mvc.Formatters.Json.Test
Microsoft.AspNetCore.Mvc.Formatters.Xml.Test
Microsoft.AspNetCore.Mvc.FunctionalTests CompiledPageRouteModelProvider should de-dup descriptors 2018-03-28 11:24:49 -07:00
Microsoft.AspNetCore.Mvc.IntegrationTests
Microsoft.AspNetCore.Mvc.Localization.Test
Microsoft.AspNetCore.Mvc.Razor.Test
Microsoft.AspNetCore.Mvc.RazorPages.Test CompiledPageRouteModelProvider should de-dup descriptors 2018-03-28 11:24:49 -07:00
Microsoft.AspNetCore.Mvc.TagHelpers.Test
Microsoft.AspNetCore.Mvc.Test
Microsoft.AspNetCore.Mvc.TestCommon Restore `ModelMetadata.PropertyName != null` behaviour 2018-03-29 07:22:00 -07:00
Microsoft.AspNetCore.Mvc.TestDiagnosticListener
Microsoft.AspNetCore.Mvc.ViewFeatures.Test
Microsoft.AspNetCore.Mvc.WebApiCompatShimTest
WebSites CompiledPageRouteModelProvider should de-dup descriptors 2018-03-28 11:24:49 -07:00
Directory.Build.props
MvcTests.ruleset