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
defmodule MyTracker do
@behavior Phoenix.Tracker
...
It then goes on to define a start_link that calls GenServer.start_link
Should that sample code not include use GenServer as well? Without it, the module does not define child_spec and, like #94, problems with the deprecation of Supervisor.Spec ensue.
(if the change is appropriate, I would be happy to put together a pull request to make it)
The text was updated successfully, but these errors were encountered:
In the documentation (https://hexdocs.pm/phoenix_pubsub/Phoenix.Tracker.html) under the heading "Implementing a Tracker" where it does:
It then goes on to define a
start_link
that callsGenServer.start_link
Should that sample code not include
use GenServer
as well? Without it, the module does not definechild_spec
and, like #94, problems with the deprecation ofSupervisor.Spec
ensue.(if the change is appropriate, I would be happy to put together a pull request to make it)
The text was updated successfully, but these errors were encountered: