You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tesla advertises itself in its mix.exs as compatible with Elixir ~> 1.10, but since #540, the use of is_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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: