Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add dependency handler for router/activated route #3

Open
FDIM opened this issue Oct 19, 2019 · 2 comments · May be fixed by #14
Open

add dependency handler for router/activated route #3

FDIM opened this issue Oct 19, 2019 · 2 comments · May be fixed by #14
Labels
enhancement New feature or request

Comments

@FDIM
Copy link
Owner

FDIM commented Oct 19, 2019

since it is a common use case, it should be supported by default

Generated code should have a subject for router events (if used) and params/paramMap/queryParams/queryParamMap

EDIT: handler should also provide RouterTestingModule to component, to handle a case when routerLink is used in template

@FDIM FDIM added the enhancement New feature or request label Oct 19, 2019
@sscots
Copy link

sscots commented Nov 27, 2019

+1

How I would I implement this as of now?

@FDIM
Copy link
Owner Author

FDIM commented Nov 27, 2019

Currently you have to create a custom handler (see this and when running the command you have to pass a directory that holds all your custom handlers.
It is described a bit in the readme :)

@FDIM FDIM linked a pull request Apr 15, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants