Good morning. I’m converting my app to Koin annota...
# koin
d
Good morning. I’m converting my app to Koin annotations ( 3.2.2 + 1.0.3 ) and I think I found one ( two? ) issue(s). After converting all my modules, I have an “aggregator”, like
Copy code
@Module(includes = [...])
class MyAppModule {

  // couple of defs here
}
And here’s the first issue: the generated code has syntax issues, like
includes(.SomeModule
( note the
.
before the name and missing qualifier ) Since in the
includes = [...]
I had about 50 modules, I thought I broke the processor, so I grouped them into other modules like
Copy code
@Module(includes = [A::class, B::class])
class MyAppModule {

  // couple of defs here
}

@Module(includes = [...])
class A

@Module(includes = [...])
class B
But seems like
A
and
B
are not processed, as there is generated code only for
MyAppModule
message has been deleted
a
intersting, do you use package name or not?
just to understand the “.SomeModule”
d
Yes, it is
cinescout.database.DatabaseModule
. I found a related issues on the repo, let me find it back
a
hm 🤔 surprising ... I need to dig into it
d
Keep me posted 🙏
a
sure 👍
d
Thank you for looking into in, Arnaud! Just saw the issue update on GitHub 🍻
a
cool 👌
I just fixed it. Wait for KA 1.1.0 👍