Skip to content

Conversation

@beasteers
Copy link
Contributor

@beasteers beasteers commented Apr 26, 2020

I took some of the suggestions from #82 and made a more stripped down implementation of the lazy config sources.

Basically the goal is: ConfigSources manage their entire state and minimal assumptions are made about the internal workings of a ConfigSource by other Config objects. This makes ConfigSources extendable without having to worry about Configuration making assumptions about how a ConfigSource is composed.

So for example, say you have some custom complicated source that consists of some set of multiple files. By abstracting away ConfigSource.exists, the config source can define that state on its own without Configuration ever having to be privy to those details.

@beasteers beasteers changed the title added basic lazy config added basic lazy config - try #2 Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant