Skip to content

Allow for a default load order as a convention #2

Description

@rfdickerson

Configuration allows for a very rich way to specify multiple sources for configuration information with priority ordering. However, for many applications, a convention that does the equivalent of:

let config = ConfigurationManager
                                 .load(file: "config.json")
                                 .load(.environmentFiles)
                                 .load(.commandLineArguments)

So that the user simply has to do:

let config = ConfigurationManager.default()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions