| This was the only out of box solution when Elixir didn't support types. So, if you really did Elixir professionally for 6 years, you'd know that by now. > Bad APIs, bad UIs because someone coupled themselves to the database structure and can't escape. If you don't commit yourself to the database structures you defined at the time of application creation, then it just reflects poor planning and architecture overall as that is one of the very first things you do. What you describe is an approach a lot of NoSQL fans use - use whatever works then, worry about datatypes later on. That's how you shoot yourself in the foot. > List of memberships? Keep them as a list with the same fields Again, using embeds_many or has_many works well too, using changesets - which is my point exactly. Not sure where the disagreement is here. Your account is full of just ragebait comments at a quick glance, so I'm just going to leave it here. |
No it reflects the reality that requirements and applications evolve over time. You sound like someone who's never supported an application for more than 5 minutes.