Closed alizain closed 2 weeks ago
Usage is pretty simple, helps me re-use a compile-time client with some modifications at runtime.
defmodule SomeClient do use Tesla plug ... end # somewhere else [ {Tesla.Middleware.BearerAuth, token: 1} ] |> SomeClient.extend |> Tesla.get!(...)
Hey there, do you mind adding unit tests to prove the use case and write documentation about it?
@yordis updated, what do you think?
See https://github.com/elixir-tesla/tesla/issues/612
Usage is pretty simple, helps me re-use a compile-time client with some modifications at runtime.