API Reference CooperConfig v#0.1.0

Copy Markdown View Source

Modules

A companion to cooper: loads app config from a CASC file instead of config/config.exs/runtime.exs.

Converts a Cooper.load_file/2/Cooper.load_string/2 result (a string-keyed map, CASC blocks nested arbitrarily deep) into the [app: [key: value, ...]] shape Application and Config.Provider expect.

A Config.Provider that loads a CASC file via Cooper.load_file/2 and merges it into the release's app config at boot -- the same slot Config.Reader (config/runtime.exs) normally fills.