MVP Journey - André Baltazar

Building an MVP every week

📝 Daily Log – ORM Failures

My experience with ORM always goes bad when I start to get into more advanced features. Things start to break, and restrictions start to show up. I'm using Doctrine ORM to handle the entities on SubNot. In the Connections part, it uses entity inheritance, and things started to get frustrating and confusing.

OneToMany mappings were working when the table had inheritance which is a plus. But my PTSD with other ORMs started to show up, when today I spent a lot of time debugging a problem which turned out to be a stupid mistake on another part of the code. The buttons what are connected to a connection were not showing up correctly. At first, I thought it was just an ORM bug, I had just moved the inheritance type yesterday, but it turned out that in the end I hadn't actually many any connection, because the part that sets connections (specially the email provider connections) was broken. I should have checked the database first. What a fail.

After this I didn't do much. I just fixed setting up email provider connections, and that was it for today.