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
ComponentContext should be made available everywhere #1304
Comments
Question: How should the |
Simplest solution would be making it injectable, but that would only work after the RequestHandler has started (but still before it is "booted") and only for HTTP requests, so the injection would be somewhat fragile. Another solution would be to just make the |
but hten you might as well go the route we have right now. Get Bootstrap injected -> I don't see how we can make this automatic and ensure it's actually right. Seems like the same conundrum as with the baseUris. |
Well, at least we would get rid of one layer of indirection... but yeah, still far from optimal. |
Related to #1889 - I think we don't even need a However, we still need some means to access the The first place I'd like to get rid of the |
I added the |
closing as of #1928 and since this will be removed anyway |
This context should be the single API for retrieving the "current" request and response objects inside an web request context.
Also, the
ComponentContext
should probably be renamed toHttpContext
See also #550
The text was updated successfully, but these errors were encountered: