const mixinafIocConfig::ApplicationDefaults
afIocConfig::ApplicationDefaults : afIocConfig::ConfigProvider
@
Js
(Service) - Contribute to set application default @Config
values, overriding any factory defaults.
const class AppModule { @Contribute { serviceType=ApplicationDefaults# } Void contributeApplicationDefaults(Configuration config) { config["config.id"] = "Config Value" }
Config values can be any immutable value.
@uses Configuration of Str:Obj
of IDs to Objs. Obj values must be immutable.