ExtConfigProvider v1.0.0 ExtConfigProvider.Transformer.Default View Source

Takes a map and transforms it to a keyword list suitable for elixir configuration.

When keys in a map start with capital letters, they are assumed to refer to Elixir modules.

Link to this section Summary

Link to this section Functions

Example

iex> ExtConfigProvider.Transformer.Default.apply(%{"Example.Repo" => %{"url" => "some_url"}}) [{Example.Repo, [url: "some_url"]}]