mathieuprog / polymorphic_embed

Polymorphic embeds in Ecto
Apache License 2.0
340 stars 62 forks source link

`polymorphic_embeds_many` seems unfinished. #89

Closed hickscorp closed 6 months ago

hickscorp commented 11 months ago

I've been using this lib for a long time, but just ran across use cases as it's the first time I try polymorphic_embeds_many. It seems to me that there's missing functionality.

Consider a schema having two possible types of embeds in a polymorphic_embeds_many "things" field. How do you:

mathieuprog commented 6 months ago

Could you mention how you perform all of the mentioned operations using embeds_many? Then we can check if any of these is not supported by the polymorphic version from this lib.

I will re-open the issue once I have more evidence of a such lacking functionality compared to embeds_many.