Closed mlocati closed 2 years ago
Thanks for getting in touch. Unfortunately, no, because a variable is only "loaded" in it's final form. As to why we have to do this: your suggestion would make the loading process impossible, as users could provide reference cycles causing non-termination or intentionally use an existing value in a substitution, then change it later, like in your example.
Let's say we have those two
.env
filesI load both files with
We currently have that:
Is there a way to make the variable substitution occurs after all files have been loaded? So that we have