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

Merge nested configs #6

Open
ferdinand-beyer opened this issue Oct 25, 2022 · 0 comments
Open

Merge nested configs #6

ferdinand-beyer opened this issue Oct 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@ferdinand-beyer
Copy link
Owner

Combining discovery methods:

  • component :foo.init/config provides a config map
  • when added to a config, we can "promote" it to its parent config

Possible algorithm:

  • Select all components tagged with :init/config
  • Start these components
  • Replace the config keys with the component instances
  • Repeat until no more matching configs are found
@ferdinand-beyer ferdinand-beyer added the enhancement New feature or request label Oct 25, 2022
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

1 participant