We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2f9eabc commit 7213e66Copy full SHA for 7213e66
1 file changed
lib/ecto_sync/schemas.ex
@@ -58,7 +58,7 @@ defmodule EctoSync.Schemas do
58
{edges, related}
59
60
%Ecto.Association.HasThrough{through: through} ->
61
- to = resolve_through(schema, through)
+ to = resolve_through(&1, through)
62
63
{[{from, to}], to}
64
0 commit comments