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
** (FunctionClauseError) no function clause matching in Hammox.TypeEngine.match_type/2
The following arguments were given to Hammox.TypeEngine.match_type/2:
# 1
nil
# 2
{:var, 282, :data_type}
Note: we tried every possible combination of typing here - directly Ecto.Changeset.t, Ecto.Changeset.t(any) etc. Only replacing the changeset type by anyon the behaviour seems to fix the problem.
The text was updated successfully, but these errors were encountered:
From
Ecto.Changeset
, there is at()
defined such as:In our behaviour, we have something like:
In our implementation:
When trying to
stub
orexpect
, Hammox raises:Note: we tried every possible combination of typing here - directly
Ecto.Changeset.t
,Ecto.Changeset.t(any)
etc. Only replacing thechangeset
type byany
on the behaviour seems to fix the problem.The text was updated successfully, but these errors were encountered: