```val testRemoteRepository by inject<ConfigDat...
# koin
r
Copy code
val testRemoteRepository by inject<ConfigDatasource>()
I'm getting an "unresolved reference" on ConfigDataSource which is 95% similar to the example. There is no red or missing dependencies in my code, any idea on where to start debugging this? I was trying to write checkModule Tests, but I can't get that far w/ ConfigDataSource compile time issues
t
do you have
ConfigDatasource
in your modules (note that if some class implements it - you need to do
as ConfigDatasource
)
r
yes, thanks for responding
Copy code
single { createWebService<ConfigDatasource>(get(), getProperty(DatasourceProperties.SERVER_URL)) }
Koin was unable to access a package from a child module... very interesting, though this means i need ot change the way i architected my app