So about the Scope class. I was thinking to use de...
# koin
a
So about the Scope class. I was thinking to use default constructor
Scope()
instead of
Scope.root()
. This way clazz property wont be nullable and have a default value of
Scope::class
. So the class would look like this
data class Scope(val clazz: KClass<*> = Scope::class)
. Not insanely necessary but i guess it is a little bit easier and fits well with Kotlin paradigm. What do you think?