Hi Koin community, First of all thanks for the am...
# koin
g
Hi Koin community, First of all thanks for the amazing Koin solution and apologies for posting basic (if not stupid 😃) questions here. I am considering using Koin in production app and before doing that I would love to get a clarity on the below to see a bigger picture in moving confidently for the migration. Our prod code base is huge. We are using dagger for DI and it also has multiple modules. 1. Migrating to Koin in our project has to be done in step by step process so can I use koin and dagger parallelly in same project ? 2. If yes how do I use koin module inside a dagger component and dagger module inside a Koin component during the period of migration ? 3. Is it safe to use Koin in big scale and multi module project or is there any pitfalls that I should be aware of based on your experiences ? Thanks in advance and any help or advice would be appreciated.
1
a
Hi @George Pandian, here are some answers
1. yes you can work with both
2. use KoinComponent to make bridge between Dagger & Koin
3. No problem with scaling. I work on many financial apps with hundreds of definitions and many modules
don’t forget to check regularly your graph with
checkModules
g
@arnaud.giuliani thanks for your reply. I will certainly look into all these. You are a star mate !
a
thanks 🙂
don’t hesitate if you have questions
👍 1
g
Of course yes @arnaud.giuliani