Hey :wave: I have a question regarding Annotations...
# koin
m
Hey 👋 I have a question regarding Annotations and scoping. I have some modules defined like that, with a dependency that come from a specific scope. I haven’t found a way of doing it with Annotations :/ Is it possible to achieve? 🤔
Copy code
val myModule = module {
    scope(named(scopeName)) {
        scoped { Foo() } 
    }

    viewModel {
        ViewModel(
            regularDeps = get(),
            foo = getScope(scopeName).get(),
        )
    }
}
👋 1
a
yes good question, not supported in current version 🤔
need to recheck all about Scope in Koin Annotations
m
Interesting! Thanks for the response. I would love to have the support in the future!
a
clearly 🙂