Skip to content

Add a prepare phase in the kernel lifecycle #64

Description

@pith

It might be useful for debugging purpose to add a new phase before init.

I think that the kernel could load all the plugins, get the kernelParameters, the root packages and the dependencies at this phase. Then the init phase would only do the request/init loop.

Discussion from seedstack/seed#201 with @adrienlauer

But if you do this there is still a question, where do we do the checks (mandatory kernel params, plugin dependencies, plugin name unicity, etc.)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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