Skip to content

Static lifecycle registered functions called before resolve. #9

@jgornick

Description

@jgornick

I'm not 100% sure if this is an issue, however, based on the documentation, I would assume that dependencies that are using the static lifecycle would be called once and only when the first resolve for the key is called. I am seeing that the static lifecycle functions are being called immediately after being registered.

I ended up having to change all of my registrations to use scoped lifecycle for desired behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions