Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

Nicer configuration loading #115

Open
dryewo opened this issue Dec 9, 2016 · 0 comments
Open

Nicer configuration loading #115

dryewo opened this issue Dec 9, 2016 · 0 comments

Comments

@dryewo
Copy link
Contributor

dryewo commented Dec 9, 2016

Currently there is some annoying code duplication - first you load the configuration mentioning the namespaces, then you explicitly pull apart the loaded config map to give each component its part. Each component name has to be mentioned several times, and it's always repetitive

:NAME (map->NAME {:configuration (:NAME config)})

in the system map.

Consider using the approach from here: https://github.com/AvisoNovate/config
Or just use the library itself.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants