Skip to content

Commit

Permalink
Fix embedded schemas with Ecto 3.12 (#58)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschenk authored Aug 22, 2024
1 parent 83ac58c commit 33481af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ecto/erd/document/dot.ex
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ defmodule Ecto.ERD.Document.Dot do
end

defp format_type(
{:parameterized, Ecto.Embedded,
%Ecto.Embedded{cardinality: cardinality, related: related}}
{:parameterized,
{Ecto.Embedded, %Ecto.Embedded{cardinality: cardinality, related: related}}}
) do
"#Ecto.Embedded<#{inspect([{cardinality, related}])}>"
end
Expand Down

0 comments on commit 33481af

Please sign in to comment.