angular/packages/examples/router
Andrew Scott 455c728525 feat(router): helper functions to convert class guards to functional (#48709)
This commit introduces helper functions to easily convert `Injectable`s with
functions compatible with `Route` guards to the corresponding guard functions.
These functions will serve to aid in migrating off of the now deprecated
class-based guards, but also provide an easy avenue to still defining
guards as `Injectable` classes if that is desired.

PR Close #48709
2023-02-27 11:52:47 -08:00
..
activated-route refactor(compiler): drop obsolete NgFactory and NgSummary config options (#48268) 2023-02-21 13:03:59 -08:00
testing feat(router): Add test helper for trigger navigations in tests (#48552) 2023-01-25 19:31:38 +00:00
utils feat(router): helper functions to convert class guards to functional (#48709) 2023-02-27 11:52:47 -08:00
BUILD.bazel feat(router): helper functions to convert class guards to functional (#48709) 2023-02-27 11:52:47 -08:00
route_functional_guards.ts docs(router): Update functional guard and resolver docs (#48873) 2023-02-02 13:39:32 -08:00