Hi all,
when dealing with umbrella applications, you may need for some of the apps special env, for example a "e2e_test.exs" which is relevant for the web app, but not for all apps within the umbrella.
In my case, I've an subapp, which has a special configuration for the "test" env. But because I had to uncomment import_config "#{Mix.env()}.exs" line, I also have to provide all the other possible config files for all possible env within my umbrella. I ended up by providing empty config files, to make it not fail.
Proposal:
import_config should not fail if config cannot be discovered, or provide an optional-flag, like `import_config("#{Mix.env()}.exs", optional: true)` so the config directory will stay clean only with configs you need for that particular application.
Thanks!