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

Support apply: false option for register_provider #227

Open
timriley opened this issue Feb 8, 2022 · 0 comments
Open

Support apply: false option for register_provider #227

timriley opened this issue Feb 8, 2022 · 0 comments
Milestone

Comments

@timriley
Copy link
Member

timriley commented Feb 8, 2022

When apply: false is given, a provider's registrations will not automatically be merged with the target container.

This would allow an external provider source to be used, but give the user full control over which registrations from the provider source they want to bring into their target container (e.g. they could choose to carry over only a subset, and possibly rename the keys at the same time).

To support this working fully, we'd need to provide an easy API for merging registrations, ensuring all options from the original registration (block, other keyword options) are carried over.

@timriley timriley added this to the 1.0.0 milestone Feb 8, 2022
@timriley timriley changed the title Support apply: false option to register_provider Support apply: false option for register_provider Feb 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant