Join Slack
Powered by
Hello, I am wondering can you define a koin module...
# koin
m
Marko Kunic
11/15/2021, 2:56 PM
Hello, I am wondering can you define a koin module in a 3rd party library, and then just import that into your koin application? (eg. we have a library that we want to maintain its own wiring with koin as we use koin in our main application)
a
arnaud.giuliani
11/15/2021, 3:06 PM
You can check the “context isolation” part, to have an isolated koin app for your sdk, while using koin in your app -
https://insert-koin.io/docs/reference/koin-core/context-isolation
arnaud.giuliani
11/15/2021, 3:07 PM
But, if you are the only user of your lib, you could just define a module and use it from your app 🤔
m
Marko Kunic
11/15/2021, 3:09 PM
thank you!
Open in Slack
Previous
Next