Thank you, the library looks nice. It does not fit out needs though as if JSONb column has type information it’s trivial to make it polymorphic without any external libraries (just pattern match on load in specific type).
Our cast is different, in the raw Ecto schema we have a type field and then payload field which should be casted depending on type field value. Which Ecto does not allow as you can’t access type value while casting/dumpin/loading payload field.






















