I've definitely run into issues where I need to pass an environment 
variable at run time, but an application that I use doesn't support the 
{:system, "DATABASE_URL"} or {:system, "PORT"} style environment variables 
that Ecto and Phoenix support.

I'm curious if it would be beneficial to add support in 
Application.get_env/2 that when the value that returns matches {:system, 
var} then System.get_env(var) would be called under the hood.

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/9fd6e998-04d2-4d7d-87ee-34abb16ee779%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to