Just to clarify for me: I am using `bean {}` in my...
# koin
t
Just to clarify for me: I am using
bean {}
in my module. Per documentation
bean {}
described as
provide(isSingleton = true) {}
, but when app is calling
get()
- following exception happens:
Copy code
Got exception: org.koin.error.DependencyResolutionException: Cyclic call while resolving Bean[name='dep_name', class=dep.class, scope:scope_name]. Definition is already in resolution in current call
Does it advised to still wrap
get()
in some kind of
lazy {}
delegate even if using
bean {}
?