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

Accessing the running config and logger etc. #39

Open
daniel-ac-martin opened this issue Aug 6, 2016 · 3 comments
Open

Accessing the running config and logger etc. #39

daniel-ac-martin opened this issue Aug 6, 2016 · 3 comments

Comments

@daniel-ac-martin
Copy link
Contributor

It would be nice to access the config that hof-bootstrap is running with once it has been initialised. i.e. To have a programmatic way to access the amalgamation of the options passed to bootstrap and bootstrap's defaults.

It would also be nice to access things such as the logger as well as the express, 'app', object itself.

@JoeChapman
Copy link
Contributor

@daniel-ac-martin by "access" do you mean from outside of the bootstrap, i.e. in the applications' entry point file?

@JoeChapman
Copy link
Contributor

@daniel-ac-martin can you please expand on why you might want these things?

@joefitter
Copy link
Contributor

@daniel-ac-martin is there any other use case where you would need access to the express app (apart from applying middleware)? I know there is currently an issue with the bootstrap.use as it is after the not-found etc, but we could fix this by passing a middleware array in config.

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

3 participants