Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ProLoser opened this issue Jan 24, 2013 · 0 comments
Open

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

ProLoser opened this issue Jan 24, 2013 · 0 comments

Comments

@ProLoser
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant