salomonbrys
11/03/2026, 8:21 AM@DIModule and you get a constructor function that takes bindings (single, provider, value), so a test just passes a mock binding. @DIFactory builds your classes from a module, which they never see. Also: suspend bindings, composable modules, per-module scoping. No runtime graph resolution, no global or mutable modules.
https://kodein-koders.com/en/blog/inara-inject-your-dependencies-at-compile-time/