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

Default configurations #9

Closed
51-code opened this issue Oct 23, 2024 · 0 comments · Fixed by #10
Closed

Default configurations #9

51-code opened this issue Oct 23, 2024 · 0 comments · Fixed by #10
Assignees
Labels
enhancement New feature or request

Comments

@51-code
Copy link
Contributor

51-code commented Oct 23, 2024

Description

There should be a possibility to have default configurations in case the provided configs from a source are e.g. not found or otherwise broken.

Use case or motivation behind the feature request

The user can provide e.g. a broken path for a configuration file and the configurations end up empty. The provided default configurations are returned instead.

Related issues

Additional context

Default configurations should be a decorator for the Configuration interface. This follows SRP and the same object can be used with any configuration source.

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

Successfully merging a pull request may close this issue.

3 participants