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

Add new type of scope that is independ of the scope stack #342

Open
escamoteur opened this issue Aug 18, 2023 · 1 comment
Open

Add new type of scope that is independ of the scope stack #342

escamoteur opened this issue Aug 18, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@escamoteur
Copy link
Collaborator

It seems that many people use scopes mainly to be able to dispose of a whole bunch of objects with one call and that the shadowing feature of the scope stack isn't the most important to them.
With the addition of dropScope() we already started the ability to access a scope independent of the stack position.

Also, I was asked what to do if you want a scope for each entry of a tab in a tabview, that would be more or less parallel and not fit the stack structure of current scopes.

This is currently just a reminder on this topic but feel free to add your ideas how a future version of get_it should handle scopes

@escamoteur escamoteur added the enhancement New feature or request label Aug 18, 2023
@kodhi-tech-lead
Copy link

kodhi-tech-lead commented May 19, 2024

Keeping the scope stack hierarchical and then adding groups where groups are non-hierarchical and each scope layer can contain multiple groups would be neat.

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

No branches or pull requests

2 participants