Multiple non-targeted sources to merge:
(load-config
{:src "foo.json" :as :json}
{:src "bar.clj", :as :edn})
Multiple targeted sources to merge (because they are targeting the same environment, they will be merged)
(load-config
{:target :dev, :src "baz", :as :yml}
{:target :dev, :src "foo.json", :as :json}
{:target :dev, :src "bar.clj", :as :edn})
Multiple targeted sources with no merge (they are targeting different environments)
(load-config
{:target :dev, :src "foo.json" :as :json}
{:target [:staging :prod], :src "bar.clj", :as :edn})
Multiple non-targeted sources to merge:
Multiple targeted sources to merge (because they are targeting the same environment, they will be merged)
Multiple targeted sources with no merge (they are targeting different environments)