However, in the root mix.exs, the :hackney dependency is a hard requirement, meaning that it has to be pulled in, along with its many sub-dependencies, regardless of choice of adapter. Can it be changed to be an optional requirement in the dependencies instead please? It's a 1 line change :)
...
defp deps do
[
{:joken, "~> 2.4"},
{:jason, "~> 1.2"},
{:tesla, "~> 1.4"},
{:hackney, "~> 1.17.4 or ~> 1.18.0", optional: true},
{:telemetry, "~> 0.4.2 or ~> 1.0"},
...
Hi,
I was pleased to see that the Tesla adapter in the HTTP Fetcher is user configurable
However, in the root mix.exs, the
:hackney
dependency is a hard requirement, meaning that it has to be pulled in, along with its many sub-dependencies, regardless of choice of adapter. Can it be changed to be an optional requirement in the dependencies instead please? It's a 1 line change :)