I am +1 on this. I think it's such a common functionality that this is
worth it, it doesn't break APIs, and it suggests a generally widely used
and common pattern.

Andrea

On Mon, 27 Jan 2020 at 17:30, Piotr Szmielew <[email protected]> wrote:

> Hi,
>
> In Elixir 1.10, there is a feature that allows you to specify compile_env.
> It's adorable, however, the calling is slightly different than on get_env.
>
> Specifically second argument can be both key or key_path - which could cut
> a lot of fluff from traversing complicated trees of config in Elixir apps.
>
> What do you think about it?
>
> Piotr
>
> --
> 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/8a370017-815f-4ea5-a288-c0c87489f775%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/8a370017-815f-4ea5-a288-c0c87489f775%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
-- 

Andrea Leopardi
[email protected]

-- 
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/CAM9Rf%2BJVH5pyn8L_yVQVzNkSHFsG171z%3DxCgJboTb-DOJ0dvkQ%40mail.gmail.com.

Reply via email to