is there any way when creating a scope to pass a p...
# koin
a
is there any way when creating a scope to pass a parameter that will live inside that scope? I have an identifier that everything created in that scope needs passed into it. currently I do it with an inject parameter, but it would be nice to clean up all of my injection sites by just having that one common parameter live inside the scope itself
a
inside a scope, you can use the
declare()
function to add a definition to this scope only
you could use it a scope creation, and then request your object from inside your scope