Currently WebCore requires explicit configuration through instantiation and passing of extensions explicitly. Additionally, WebCore can not optimistically attempt to instantiate extension dependencies (configuration-free) when needed.
Extend the web.core:Application initializer to process passed configuration in a similar way to logging.dictConfig, that is, allowing explicit declaration down to using named references with Application performing the lookup and instantiation.
(This will simplify handling of the BaseExtension through correct interpretation of the always=True plugin metadata, honouring that extension contract for end-use application extensions, too.)
Currently WebCore requires explicit configuration through instantiation and passing of extensions explicitly. Additionally, WebCore can not optimistically attempt to instantiate extension dependencies (configuration-free) when needed.
Extend the
web.core:Application
initializer to process passed configuration in a similar way tologging.dictConfig
, that is, allowing explicit declaration down to using named references withApplication
performing the lookup and instantiation.(This will simplify handling of the
BaseExtension
through correct interpretation of thealways=True
plugin metadata, honouring that extension contract for end-use application extensions, too.)