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 Add mapping service for action results 2018-03-27 17:13:41 -07:00
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 Add compatibility switch controlling parameter metadata and top-level validation 2018-03-26 12:29:04 -07:00
Microsoft.AspNetCore.Mvc.Localization.Test
…
Microsoft.AspNetCore.Mvc.Razor.Test ApplicationPartFactory: The works 2018-03-21 15:40:15 -07:00
Microsoft.AspNetCore.Mvc.RazorPages.Test CompiledPageRouteModelProvider should de-dup descriptors 2018-03-28 11:24:49 -07:00
Microsoft.AspNetCore.Mvc.TagHelpers.Test Add model attribute for PartialTagHelper. 2018-03-23 16:13:55 -07:00
Microsoft.AspNetCore.Mvc.Test ApplicationPartFactory: The works 2018-03-21 15:40:15 -07:00
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 Introduce LifecycleProperty 2018-03-22 10:18:36 -07:00
Microsoft.AspNetCore.Mvc.WebApiCompatShimTest
…
WebSites CompiledPageRouteModelProvider should de-dup descriptors 2018-03-28 11:24:49 -07:00
Directory.Build.props Stop building\testing on netcoreapp2.0 2018-03-19 10:09:51 -07:00
MvcTests.ruleset
…