Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: opening a scope within a scope hides the original scope #55

Open
StummeJ opened this issue Mar 20, 2024 · 0 comments
Open

bug: opening a scope within a scope hides the original scope #55

StummeJ opened this issue Mar 20, 2024 · 0 comments

Comments

@StummeJ
Copy link
Contributor

StummeJ commented Mar 20, 2024

Problem

Given you are in a scope and you need to open a new scope, when resolving a dependency in the original scope the get method will not find the dependency unless you specify the specific scope which has it (which you may not have access to)

Possible solution

When opening a new scope, the previous scope's scoped_services should be added, then overridden with any overlapping services

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant