Enhancements
- When dumping a
Money.Ecto.Composite.Type
, detect ifdump/3
is being called byEcto.Type.embedded_dump/2
. If it is, then return a map that can be serialized to JSON. If it isn't (most cases) then return the tuple to be serialized to Postgres. See papertrail issue.