Tymon Tobolski
Tymon Tobolski
This line ```elixir config :tesla, RestClients.ExternalService, adapter: RestClients.ExternalService.Mock ``` only works if you use module-based clients (with `use Tesla`), otherwise you need to handle adapter configuration yourself. I can't tell...
You're right @ivan-kolmychek, if you have anything async you need to use global mode.
@MeerKatDev @Straffern Can you provide an executable example?
I tend to have a custom implementation of Inspect protocol on a per-project basis, often something as simple as: ```ex defimpl Inspect, for: Tesla.Client do @moduledoc """ Implement custom Inspect...
I agree 100% 🙃 There are few reasons why I stalled with README change: 1. Non-macro clients are a bit more complex to start with and less familiar to the...
It's... complicated. Most of the time I use runtime middleware only as there are is always something you want to configure in runtime (auth, timeout, url, fuse params, etc.) At...
Amazing! Let's get the response streaming become a thing 👍
Awesome! @crova Can we write some tests for this?
Global config override can be useful for cases like changing log level in test: ```ex config :tesla, Tesla.Middleware.Logger, log_level: fn _ -> :info end ``` (This is currently NOT possible)
All things considered I think this would be a good opt-in feature. We'd need to think of all the corner cases, like e.g. what happens when you put Telemetry into...