Deprecated warning for ecto

I am getting this warning while doing mix phx.server … Can anyone help me with this…?

==> ecto
Compiling 56 files (.ex)
warning: Decimal.cmp/2 is deprecated. Use compare/2 instead
  lib/ecto/changeset.ex:2160: Ecto.Changeset.validate_number/6

Generated ecto app

Using
:ecto, "3.5.6"
:elxir, "1.10"

There has been a PR early december last year to work around the warning, but this one is not included in the latest ecto release.

3 Likes