Hey i am using Koin annotations in a KMM project a...
# koin
y
Hey i am using Koin annotations in a KMM project and. i am getting this weird error : so I have this expect function
Copy code
expect fun Scope.sqlDriverFactory(): SqlDriver
if I put an @Single on top of it, but when the app builds and the default module is created I get an error : single() { com.app.name.core.data.local.sqlDriverFactory() } saying that Unresolved reference: sqlDriverFactory
a
are you using an extension function here?
y
yes i am
a
is it needed? else try to have a simpler function, no extension. Not sure the case of extension function is handled
y
ok