Dynamic Embeds in Ecto

  1. If I remember correctly the issue with that approach was that dumping my structs as ecto map used default Jason.Encoder protocol implementation for decimals, dates, etc and ecto was then unable to load them correctly (was loosing data or simply crashing)
  2. You’re right, It’s more on-topic than I initially thought :wink: