Config Provider Initialization Order Issue with Layers
I have a lot of Layers, which yield some configs.
And when I assemble all my layers:
I get errors saying that I did not pass some env variables, although they are in .env.local.
When I use dotenv lib, everything works fine. I guess that's how layers work, they are probably being bootstrapped before env variables are put in Config. So what's the correct way of doing this?
And when I assemble all my layers:
I get errors saying that I did not pass some env variables, although they are in .env.local.
When I use dotenv lib, everything works fine. I guess that's how layers work, they are probably being bootstrapped before env variables are put in Config. So what's the correct way of doing this?
