Open Tiscs opened 8 months ago
Hi @Tiscs, in its current state this is a breaking change because it was cause all current calls to Scope()
with the same name to be merged into one scope which could break some users.
Instead, we could add a new API to scope that returns a child subscope with a given name, or perhaps an Option that you pass when creating the container that enables this behavior. Let me know your thoughts!
Returns an existing
Scope
with the same name when callingScope(name string, opts ...ScopeOption)
rather than creating a new one.