{"action":"opened","issue":{"url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1149","repository_url":"https://api.github.com/repos/PerlDancer/Dancer2","labels_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1149/labels{/name}","comments_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1149/comments","events_url":"https://api.github.com/repos/PerlDancer/Dancer2/issues/1149/events","html_url":"https://github.com/PerlDancer/Dancer2/issues/1149","id":145680962,"number":1149,"title":"Dancer2 loads multiple configs (files and formats)","user":{"login":"perlpilot","id":7973,"avatar_url":"https://avatars.githubusercontent.com/u/7973?v=3","gravatar_id":"","url":"https://api.github.com/users/perlpilot","html_url":"https://github.com/perlpilot","followers_url":"https://api.github.com/users/perlpilot/followers","following_url":"https://api.github.com/users/perlpilot/following{/other_user}","gists_url":"https://api.github.com/users/perlpilot/gists{/gist_id}","starred_url":"https://api.github.com/users/perlpilot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perlpilot/subscriptions","organizations_url":"https://api.github.com/users/perlpilot/orgs","repos_url":"https://api.github.com/users/perlpilot/repos","events_url":"https://api.github.com/users/perlpilot/events{/privacy}","received_events_url":"https://api.github.com/users/perlpilot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-04T13:15:07Z","updated_at":"2016-04-04T13:15:07Z","closed_at":null,"body":"If there is both a config.json and a config.yaml  (or any other of the formats that Config::Any understands), Dancer2 will load and merge them all into a single configuration.  While it makes sense to have alternate config files, it makes little sense to load multiple different formats into a single configuration.\r\n\r\nSee the `_build_config_files` routine at https://github.com/PerlDancer/Dancer2/blob/master/lib/Dancer2/Core/Role/ConfigReader.pm#L106\r\n\r\n"}}