Skip to content

ResolvePolicy NOWAIT does not behave as expected #3243

@aj-dev

Description

@aj-dev

According to the API docs, NOWAIT should not wait for promise and should not unwrap it. This is not the case as you can see in this plunker.

data is already resolved in onEnter hook where a resolved value is injected and not a promise. The same with the bound value in a template - it doesn't render until the data is resolved and promise unwrapped.

It contradicts the API docs stating that for resolve policy async: NOWAIT "The promise will not be unwrapped. The promise itself will be provided when the resolve is injected or bound elsewhere."

Related to #2691

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions