Hey guys, I am evaluating Kodein for a project and...
# kodein
y
Hey guys, I am evaluating Kodein for a project and I ran into some trouble while trying to inject a module. Here is an example config which illustrates the issue: class KodeinModule { lateinit var owlAxiomGenerator: OWLAxiomGenerator; val kodein: Kodein by lazy { Kodein { bind<OWLAxiomGenerator>() to instance{owlAxiomGenerator} } } } After Kodein is accessed, it fails with an exception: com.github.salomonbrys.kodein.Kodein$NotFoundException: No provider found for bind<OWLAxiomGenerator>() with ? { ? } Registered in Kodein: //nothing here Can anybody point me in the right direction? Thanks