Sounds good to me. PR welcome! On Mon, Sep 18, 2023 at 6:41 PM Michal Śledź <michal.sl...@swmansion.com> wrote:
> System.put_env/1 erases given key when a value is nil. > > The proposal is to make System.put_env/2 symmetric with the > System.put_env/1 and also erase a key on the nil value. > > The spec would change from: > > @spec put_env(binary(), binary()) :: :ok > > to: > > @spec put_env(binary(), binary() | nil) :: :ok > > -- > 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 elixir-lang-core+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/0cc7caf8-f152-4476-9472-454c5c7e2f07n%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/0cc7caf8-f152-4476-9472-454c5c7e2f07n%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 elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAGnRm4JqFq%3D4tQfgEfZbLRBU9AQU_uZjV4yWMd%2B4d9pFzGa-2g%40mail.gmail.com.