elixir-toniq / vapor

Runtime configuration system for Elixir
MIT License
592 stars 36 forks source link

Allow multiple providers in Planner DSL #135

Open simonmcconnell opened 2 years ago

simonmcconnell commented 2 years ago

I wanted to have multiple providers for a specific config sectionin a Planner:

  config :endpoint, [
    file("config.toml", [
      {:port, ["something", "port"]}
    ]),
    env([
      {:something_else, "SOMETHING_ELSE"}
    ])
  ]

I also added .editorconfig and .gitattributes to force LF newlines so that tests can be run on Windows machines.

Thoughts?