ecto_polymorphic extends ParameterizedType from ecto.
In nutshell, you can create complex embeds using the power of Ecto.
Inspired by https://github.com/mathieuprog/polymorphic_embed.
If available in Hex, the package can be installed
by adding ecto_polymorphic to your list of dependencies in mix.exs:
def deps do
[
{:ecto_polymorphic, "~> 0.1.0"}
]
endDocumentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/ecto_polymorphic.