# setupDI

fun ERROR CLASS: Symbol not found for Module. setupDI (config: Config , rawJsonObject: JsonObject? = null)(source)

open override fun ERROR CLASS: Symbol not found for Module. setupDI (config: JsonObject)(source)

Will deserialize Config from config, register it in receiver Module (as well as CoroutineScope and kotlinx.serialization.json.Json)

Besides, in this method will be called StartPlugin.setupDI on each plugin from Config.plugins. In case when some plugin will not be loaded correctly it will be reported throw the logger