Generalization & Specialization and Changesets

upd I think I get what you mean by Generalization module, we’ve had a case when we needed content elements with each having an id, int order etc plus a map field with element specific stuff, I implemented it with using macro (kinda like GenServer) this way you can keep the common schema part in the behavior module and let the using modules define the specifics. Not sure if that is exactly your case but you might want to consider the possibility.

2 Likes