angular/aio/content/examples
Dmitrij Kuba c9679760b2 refactor(router): take only the first emitted value of every resolver to make it consistent with guards (#44573)
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
2022-03-01 17:12:37 +00:00
..
accessibility refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
ajs-quick-reference refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
angular-compiler-options build(docs-infra): update docs examples to Angular v13.0.0-rc.0 (#43880) 2021-10-29 13:10:25 -07:00
angular-linker-plugin docs: improve consuming partial-Ivy code outside the Angular CLI (#44027) 2021-11-04 18:55:52 +00:00
animations test(animations): Fix flaky animations e2e test (#45196) 2022-02-24 13:15:31 -08:00
architecture refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
attribute-binding refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
attribute-directives docs(docs-infra): improve the content of attribute directives (#44628) 2022-01-06 18:36:46 +00:00
binding-syntax refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
bootstrapping docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
built-in-directives refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
built-in-template-functions test(docs-infra): disable the Selenium Promise Manager in docs examples e2e tests (#39818) 2020-11-24 14:56:14 -08:00
cli-builder/src docs: update CLI builder to be platform agnostic (#42371) 2021-06-01 10:13:02 -07:00
comparing-observables build(docs-infra): switch the example-e2e script to ESM (#42921) 2021-07-23 10:37:35 -07:00
component-interaction refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
component-overview refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
component-styles refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
content-projection refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
dependency-injection refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
dependency-injection-in-action refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
deprecation-guide refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
displaying-data docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
docs-style-guide fix(docs-infra): removed duplicated style in aio examples (#45157) 2022-02-22 15:35:16 -08:00
dynamic-component-loader docs: solve the problem with Dynamic Component guide example (#45123) 2022-02-18 13:33:15 -08:00
dynamic-form refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
elements refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
errors/cyclic-imports refactor(compiler-cli): error on cyclic imports in partial compilation (#40782) 2021-02-17 06:53:38 -08:00
event-binding refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
feature-modules docs: remove unused "docregions" (#40479) 2021-01-20 16:12:15 -08:00
form-validation refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
forms refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
forms-overview build(docs-infra): update docs examples to Angular v12.1.3 (#42949) 2021-08-09 09:41:00 -07:00
getting-started refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
getting-started-v0 docs: add missing Product interface to example (#42147) 2021-05-21 22:14:47 +00:00
hierarchical-dependency-injection refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
http docs: improve structure of http example (#44986) 2022-02-28 19:31:25 +00:00
i18n docs(docs-infra): fix the stackblitz on page i18n-example (#45097) 2022-02-28 17:25:40 +00:00
inputs-outputs refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
interpolation refactor(docs-infra): fix template eslint issues in aio examples (#44557) 2022-02-03 12:44:46 -08:00
lazy-loading-ngmodules refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
lifecycle-hooks refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
ngcontainer refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
ngmodules refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
observables docs(docs-infra): change deprecated keyboardEvent.keyCode example to use keyboardEvent.code (#43934) 2021-10-26 00:05:22 +00:00
observables-in-angular refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
pipes refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
practical-observable-usage refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
property-binding refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
providers docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
providers-viewproviders test(docs-infra): disable the Selenium Promise Manager in docs examples e2e tests (#39818) 2020-11-24 14:56:14 -08:00
reactive-forms docs(forms): remove type duplicate from button in reactive-forms example (#45124) 2022-02-18 13:34:59 -08:00
resolution-modifiers docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
router refactor(router): take only the first emitted value of every resolver to make it consistent with guards (#44573) 2022-03-01 17:12:37 +00:00
router-tutorial docs: use shorthand background CSS property in Routing example (#40834) 2021-02-16 09:26:26 -08:00
routing-with-urlmatcher docs: convert the last my-app components to app-root (#42256) 2021-05-25 22:13:36 +00:00
rx-library docs: fix code sample indentation (#44517) 2022-01-04 12:15:55 -08:00
schematics-for-libraries refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
security docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
service-worker-getting-started docs: replace deprecated SwUpdate#available/activated with new API (#44858) 2022-02-18 13:40:34 -08:00
set-document-title refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
setup refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
structural-directives refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
styleguide fix(docs-infra): removed duplicated style in aio examples (#45157) 2022-02-22 15:35:16 -08:00
template-expression-operators docs: make all examples compatible with strict mode (#41999) 2021-05-17 10:42:18 -07:00
template-reference-variables refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
template-syntax refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
testing fix(docs-infra): removed duplicated style in aio examples (#45157) 2022-02-22 15:35:16 -08:00
toh-pt0 docs: specify fallback generic font family (#40254) 2021-01-06 07:09:27 -08:00
toh-pt1 docs: Adding type annotation to ngOnInit() to make it consistent with the class structure produced by the CLI (#43579) 2021-11-16 14:09:51 -08:00
toh-pt2 fix(docs-infra): removed duplicated style in aio examples (#45157) 2022-02-22 15:35:16 -08:00
toh-pt3 fix(docs-infra): removed duplicated style in aio examples (#45157) 2022-02-22 15:35:16 -08:00
toh-pt4 fix(docs-infra): removed duplicated style in aio examples (#45157) 2022-02-22 15:35:16 -08:00
toh-pt5 refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
toh-pt6 refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
two-way-binding refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
universal refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
upgrade-lazy-load-ajs refactor(docs-infra): fix eslint issues for aio ugrade-* examples (#44534) 2022-01-04 16:34:06 -08:00
upgrade-module refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
upgrade-phonecat-1-typescript refactor(docs-infra): fix template eslint issues in aio examples (#44557) 2022-02-03 12:44:46 -08:00
upgrade-phonecat-2-hybrid refactor(core): drop all .ngfactory and .ngsummary imports (#44957) 2022-02-07 15:31:49 -08:00
upgrade-phonecat-3-final refactor(docs-infra): fix template eslint issues in aio examples (#44557) 2022-02-03 12:44:46 -08:00
user-input refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
view-encapsulation refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00
what-is-angular refactor(docs-infra): add types to all the aio examples buttons (#44557) 2022-02-03 12:44:47 -08:00
.eslintrc.json refactor(docs-infra): fix template eslint issues in aio examples (#44557) 2022-02-03 12:44:46 -08:00
.gitignore docs: move deprecations example snippets to external file (#43700) 2021-10-20 20:24:54 +00:00
tsconfig.eslint.json refactor(docs-infra): use eslint in aio's example-lint script (#43218) 2021-12-15 12:28:46 -05:00