-
There is the option `identify_by_fields` used to infer the embedded schema type by the attributes it receives to cast. I'm thinking in a similar feature but looking at the value of a field of the pare…
-
```
When an object contains a polymorphic embedded HashMap with values, some of
which are (datastore) primitive types, decoding will fail with a
NullPointerException.
E.g. given the class:
class B…
-
There are MRs upstream that solve existing problems:
- [x] [Don't create compile-time dependencies to embedded schemas #86](https://github.com/mathieuprog/polymorphic_embed/pull/86)
- done in …
-
```
When an object contains a polymorphic embedded HashMap with values, some of
which are (datastore) primitive types, decoding will fail with a
NullPointerException.
E.g. given the class:
class B…
-
```
When an object contains a polymorphic embedded HashMap with values, some of
which are (datastore) primitive types, decoding will fail with a
NullPointerException.
E.g. given the class:
class B…
-
Can you please advise is there is something wrong in the following configuration? I'm expecting to be able to track changes in the embedded address fields but the history_tracker model is only showing…
-
**Observed behavior:** When I build a changeset with ordinary embeds, these embeds stay changesets. When I build the changesets with polymorphic embeds, the embeds are turned into structs if they're v…
-
Hi guys, thanks for the fantastic library. It rocks!
Recently I'm struggling with `{:type_not_found, {PolymorphicEmbed, "t", "PolymorphicEmbed.t()"}` error when using polymorphic_embed library.
Th…
-
First of all, thanks a ton for this great library 👍
I have the following schema (abridged):
```elixir
defmodule ClientApiConfig do
schema "client_api_config" do
polymorphic_embeds_one…
-
Hello. I'm trying to tidy up some code for a SQL query builder. Presently, I manually assign the inputs' `name` and `id` fields and save it all as JSONB.
How are you distinguishing between type…