You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The project has grown a lot and so has the complexity of our SQL queries. Given the number of queries, and the amount of manual query building we are doing, I think we should adopt an ORM. This will make it easier for newer members to contribute, and hopefully will help reduce errors when writing and modifying queries.
The project has grown a lot and so has the complexity of our SQL queries. Given the number of queries, and the amount of manual query building we are doing, I think we should adopt an ORM. This will make it easier for newer members to contribute, and hopefully will help reduce errors when writing and modifying queries.
I propose the following requirements for the ORM:
node-pg-migrate
, or adopt whatever the ORM recommends)I've heard good things about Prisma and TypeORM, so unless someone has strong recommendations, we can start by looking into these.
Completion Criteria:
It doesn't have to happen in a single PR, but eventually we would migrate all hand rolled SQL to ORM queries
The text was updated successfully, but these errors were encountered: