Skip to content

APP_INITIALIZER should block BASE_PATH_HREF provider #20383

Description

@Modellium

I'm submitting a...


[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  
[ X ] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question

Current behavior

useFactory for BASE_PATH_HREF is fired before useFactory for APP_INITIALIZER

Expected behavior

useFactory for APP_INITIALIZER should fire before BASE_PATH_HREF

What is the motivation / use case for changing the behavior?

I wan't to get a set of allowed basepath from the server before the app loads.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: coreIssues related to the framework runtimefeatureLabel used to distinguish feature request from other issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions