mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
The router used to wait for the resolvers to complete and take the last value. The changes here take only the first emitted value of every resolver and proceed the navigation. This matches how other guards work in the `Router` code. Resolves https://github.com/angular/angular/issues/44643 BREAKING CHANGE: Previously, resolvers were waiting to be completed before proceeding with the navigation and the Router would take the last value emitted from the resolver. The router now takes only the first emitted value by the resolvers and then proceeds with navigation. This is now consistent with `Observables` returned by other guards: only the first value is used. PR Close #44573 |
||
|---|---|---|
| .. | ||
| prioritized_guard_value.spec.ts | ||
| resolve_data.spec.ts | ||