mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
5efea2f6a0
Previously, the router would merge path and matrix params, as well as data/resolve, with special rules (only merging down when the route has an empty path, or is component-less). This change adds an extra option "paramsInheritanceStrategy" which, when set to 'always', makes child routes unconditionally inherit params from parent routes. Closes #20572.