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

[BUG] forRoot support in module imports #531

Closed
vogloblinsky opened this issue Apr 5, 2018 · 1 comment
Closed

[BUG] forRoot support in module imports #531

vogloblinsky opened this issue Apr 5, 2018 · 1 comment

Comments

@vogloblinsky
Copy link
Contributor

Overview of the issue

A module listed in imports metadata is not linked with its parent module if called with .forRoot

@NgModule({
    declarations: [...],
    imports: [
        BrowserModule,
        FormsModule,
        HttpModule,

        HeaderModule.forRoot(),
        ListModule,
        FooterModule,
        HomeRoutingModule
    ],
    exports: [...]
})
export class HomeModule { }

capture d ecran de 2018-04-05 16-56-53

Here, HeaderModule is not linked. We should have this :

capture d ecran de 2018-04-05 16-57-48

@lock
Copy link

lock bot commented Sep 30, 2019

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem. Why locking ? Having issues with the most up-to-date context.

@lock lock bot locked as resolved and limited conversation to collaborators Sep 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant