Closed halostatue closed 4 months ago
Do you mind changing the elixir to 1.14+ and clarifying in the readme?
I won't have time until next week to do so (I know it’s light, but today's "dependency update day", so my regular workday has gone by the wayside).
Tesla advertises itself in its
mix.exs
as compatible with Elixir~> 1.10
, but since #540, the use ofis_struct/2
has made that incorrect.This should at least be documented by updating
mix.exs
and advising people in the README/documentation that older versions must use Tesla 1.8 or lower. A "correct" fix for this is somewhat nightmarish (it would involve making hot fix releases for 1.9.x, 1.10.x, and 1.11.x) and using pattern matching (%mod{} … where mod == Stream
) on those and then making Tesla 1.12 or later~> 1.11
(or later!) only.