### Which @angular/* package(s) are the source of the bug? core, router ### Is this a regression? Yes ### Description In Angular 13.3.10 the "preload"-Method in a custom PreloadingStrategy is not called for routes with a set canLoad-guard. https://stackblitz.com/edit/angular-ivy-wf131m?file=src/app/app-routing.module.ts This is also mentioned in the documentation: https://angular.io/guide/router-tutorial-toh#canload-blocks-preload In Angular 14.0.0 this behaviour changed. The "preload"-method is called despite a set canLoad-guard. This change was not mentioned in the changelog and is the opposite of what is written in the documentation. Is this an intended change? https://stackblitz.com/edit/angular-ivy-nabdle?file=src/app/app-routing.module.ts ### Please provide a link to a minimal reproduction of the bug https://stackblitz.com/edit/angular-ivy-nabdle?file=src/app/app-routing.module.ts ### Please provide the exception or error you saw ```true The "preload"-method is called despite a set canLoad-guard in angular 14. ``` ### Please provide the environment you discovered this bug in (run `ng version`) _No response_ ### Anything else? _No response_
Which @angular/* package(s) are the source of the bug?
core, router
Is this a regression?
Yes
Description
In Angular 13.3.10 the "preload"-Method in a custom PreloadingStrategy is not called for routes with a set canLoad-guard.
https://stackblitz.com/edit/angular-ivy-wf131m?file=src/app/app-routing.module.ts
This is also mentioned in the documentation: https://angular.io/guide/router-tutorial-toh#canload-blocks-preload
In Angular 14.0.0 this behaviour changed. The "preload"-method is called despite a set canLoad-guard. This change was not mentioned in the changelog and is the opposite of what is written in the documentation. Is this an intended change?
https://stackblitz.com/edit/angular-ivy-nabdle?file=src/app/app-routing.module.ts
Please provide a link to a minimal reproduction of the bug
https://stackblitz.com/edit/angular-ivy-nabdle?file=src/app/app-routing.module.ts
Please provide the exception or error you saw
Please provide the environment you discovered this bug in (run
ng version)No response
Anything else?
No response