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

Feature Request: Documentation for functional route guards without the use of NgModule #7977

Open
craiggoldstone opened this issue Jan 18, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@craiggoldstone
Copy link

craiggoldstone commented Jan 18, 2024

Describe the feature or problem you'd like to solve

Provide an example in the documentation for how to test functional route guards without using NgModule

Proposed solution

People who don't use NgModule anymore will be able to understand how to use ng-mocks more easily

Additional context

The existing documentation is great, but does make use of NgModule. . It would be great to see the example of how to setup ng-mocks using the provideRouter and bootstrapApplication() instead of RouterModule.forRoot() and any NgModules

@craiggoldstone craiggoldstone added the enhancement New feature or request label Jan 18, 2024
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

No branches or pull requests

2 participants