-
Notifications
You must be signed in to change notification settings - Fork 84
Open
Description
In the Readme and mix.exs there's no mention of phoenix_ecto
but trying to edit a resource without phoenix_ecto
loaded results in an exception like:
** (Protocol.UndefinedError) protocol Phoenix.HTML.FormData not implemented for #Ecto.Changeset<action: nil, changes: %{}, errors: [], data: #Pomodoro.Schemas.PomodoroLog<>, valid?: true, ...> of type Ecto.Changeset (a struct). This protocol is implemented for the following type(s): Atom, Map, Plug.Conn
(phoenix_html 4.1.1) lib/phoenix_html/form_data.ex:1: Phoenix.HTML.FormData.impl_for!/1
Adding a dep like {:phoenix_ecto, "~> 4.6"}
to your projects mix.exs
fixes this error.
To resolve this I think either ensuring :phoenix_ecto
is installed to the Readme, or directly depend on :phoenix_ecto
in Torch's mix.exs
.
Metadata
Metadata
Assignees
Labels
No labels