Unfortunately Application.get_env accepted anything as key in previous versions. It has been deprecated but it means we cannot accept paths for now.
On Tue, Jul 5, 2022 at 12:33 PM [email protected] <[email protected]> wrote: > I just noticed that `Application.compile_env` accepts a path of keys > besides a single key. `Application.get_env` doesn't seem to support that. > Is there a reason for this difference? If not I'd like to see that > possibility be added so their parameters are aligned. > > -- > 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/e74a7739-e11d-4aad-8550-b17fd6839a2bn%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/e74a7739-e11d-4aad-8550-b17fd6839a2bn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAGnRm4JsvFz547M4BOvYfLyzrrBmniNO-7EPMxbtnq1gBJe4qw%40mail.gmail.com.
