Getting deprecated warning for cachex

While running mix phx.server getting this deprecated warning… Can anyone help me with this…?

==> cachex
Compiling 54 files (.ex)
warning: Supervisor.Spec.supervise/2 is deprecated. Use the new child specifications outlined in the Supervisor module instead
  lib/cachex.ex:363: Cachex.init/1

Generated cachex app

Usage version
:cachex, "3.3.0"
:elxir, "1.10"

Thanks in advance.

There isn’t really anything to fix here, the library is using an out of date function. The function still works though, but you get a warning.

2 Likes