Skip to content

Relocate Configure::load() out of bootstrap #21

@ProLoser

Description

@ProLoser

Paths are not needed anywhere except in the datasource, and if you don't load the datasource or component you don't need hosts loaded either.

Expecting users to add these to their bootstrap creates an unnecessary overhead both to the app at runtime and to the developer for getting the plugin working.

The main reason why it's here is because it's difficult/impossible to test, but I don't feel this is a good enough reason to structure the code this way.

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