4 ms·
Not to downplay tests, but this would be caught by a typing system if all access to DB fields was through an ORM such that all access could be type checked. No
by Eridrus 6y ago
Not to downplay tests, but this would be caught by a typing system if all access to DB fields was through an ORM such that all access could be type checked.
Not to say that everyone should use an ORM, but this would be a very simple property for a type checker to catch if you let it.
- pmontra 6y agoPossibly, but (simplifying a lot) the actual refactoring involves JSONB fields that store serializations of objects which include those fields plus a yet unknown amount of code that might be using them, etc. And we're ending up redesigning part of the UI because 1) it makes sense and 2) it makes the migration to the new backend simpler. Luckily we're pretty well covered by tests.