You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Change route and query fallback semantics (#35317)
* Change route and query fallback semantics
- If the list of route parameters is empty then simple parameters are from query only.
- If the list of route parameters is null then fallback from route to query.
- Added tests.
// 1. We bind from route values only, if route parameters are non-null and the parameter name is in that set.
251
+
// 2. We bind from query only, if route parameters are non-null and the parameter name is NOT in that set.
252
+
// 3. Otherwise, we fallback to route or query if route parameters is null (it means we don't know what route parameters are defined). This case only happens
0 commit comments