Open raderio opened 6 years ago
Have you analyzed implementing Dependency injection by type alias?
object RedisCache { } typealias Cache = RedisCache
If we need to change it
object MongoCache { } typealias Cache = MongoCache
It is done in compile time
Have you analyzed implementing Dependency injection by type alias?
If we need to change it
It is done in compile time