kohesive / injekt

Dependency Injection for Kotlin
MIT License
235 stars 20 forks source link

Move Delegates.* extension methods to sub package so they can be imported separately as a group #1

Closed apatrida closed 9 years ago

apatrida commented 9 years ago

So that people do not tend to import uy.kohesion.injekt.* can move Delegates extension methods to uy.kohesion.injekt.delegates so that they can be imported from there as a whole and found as a group more easily.

voddan commented 9 years ago

Also it would make sense to use another grouping class instead of Delegates. I suggest Injections: val log: Logger by Injections.injektLogger()

apatrida commented 9 years ago

Maybe, Injections.logger() ... I chose Delegates because that is where people are trained to look to delegate a property. Will think on it.

apatrida commented 9 years ago

they are now top level to match Kotlin M13