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
{{ message }}
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Sep 25, 2025. It is now read-only.
Since using TS for migrations and seeds with sequelize is a really janky experience I think that we should consider using TypeORM. If anyone has any experience using Typeorm or why we should stick with Sequelize feel free to comment here.
One great thing that we cant do with sequelize since we're using sequelize-ts for models is migrations, TypeORM can be used to automaticly generate migrations (they can sometimes be wrong, this aint Rails' ActiveRecord) but would greatly help.
Since we're writing code that closely resembles TypeORM already, I think we can just move to that and use the linked issue above for keeping the same style.
I'm fine with whatever you folks find will work. Though, I agree it would be good for Quincy and others to stamp this one.
Given the trouble Sequelize + Typescript has already caused it seems wise to consider a tool that plays well.
Sequelize was suggested by Quincy well before the technical conversations started, presumably to set a reasonable default tech stack and avoid an endless conversation about the stack.
Also, Sequelize was suggested before TypeScript was introduced.
@nik-john@ceciliaconsta3 you were both referenced here and are welcome to chime in. I think everybody else on the thread has stated their opinion or deferred (Quincy and I).
@iansltx listed both TS and Sequelize in #11 and @oyewoas @hamidnoei @imccausl listed Sequelize experience, so if there's any final words on using TypeORM, instead of Sequelize, then please comment now.
$0.02: As Quincy mentioned earlier, whoever is planning to perform the bulk of work on this should decide. Though if only a few are comfortable using said technology and if they get busy, it may be better to use something others are more familiar with to share the load. My experience using Sequelize is limited and non-existent in TypeORM.
If we just need a final decision on this going forward, I say let's use Sequelize. I created a makeshift poll in Discord if we're still uneasy picking one of the two (keyboard vs movie camera emoji)
Activity
Zeko369 commentedon Nov 18, 2019
Or maybe something like this Vincit/objection.js#1069 (comment)
Zeko369 commentedon Nov 18, 2019
Copied from discordThe only difference that I found so far (I'm using it for a differenet project) is that you cant do this
And have to do
But we could do this typeorm/typeorm#3903, and fix that problem
timmyichen commentedon Nov 18, 2019
Since we're writing code that closely resembles TypeORM already, I think we can just move to that and use the linked issue above for keeping the same style.
Zeko369 commentedon Nov 18, 2019
@nik-john @ceciliaconsta3 @allella @QuincyLarson
allella commentedon Nov 19, 2019
I'm fine with whatever you folks find will work. Though, I agree it would be good for Quincy and others to stamp this one.
Given the trouble Sequelize + Typescript has already caused it seems wise to consider a tool that plays well.
Sequelize was suggested by Quincy well before the technical conversations started, presumably to set a reasonable default tech stack and avoid an endless conversation about the stack.
Also, Sequelize was suggested before TypeScript was introduced.
QuincyLarson commentedon Nov 19, 2019
I will defer to the people building the app itself.
@Zeko369 If you think TypeORM is a better fit and you're the main person working on this at the moment, I say go ahead and get started with it.
If anyone has other opinions on this you can share those here.
Zeko369 commentedon Nov 19, 2019
@freeCodeCamp/chapter-moderators Any other thoughts?
allella commentedon Nov 20, 2019
@nik-john @ceciliaconsta3 you were both referenced here and are welcome to chime in. I think everybody else on the thread has stated their opinion or deferred (Quincy and I).
@iansltx listed both TS and Sequelize in #11 and @oyewoas @hamidnoei @imccausl listed Sequelize experience, so if there's any final words on using TypeORM, instead of Sequelize, then please comment now.
Zeko369 commentedon Nov 20, 2019
Tnx @allella for finding and pinging them 👍
ceciliaconsta3 commentedon Nov 21, 2019
$0.02: As Quincy mentioned earlier, whoever is planning to perform the bulk of work on this should decide. Though if only a few are comfortable using said technology and if they get busy, it may be better to use something others are more familiar with to share the load. My experience using Sequelize is limited and non-existent in TypeORM.
If we just need a final decision on this going forward, I say let's use Sequelize. I created a makeshift poll in Discord if we're still uneasy picking one of the two (keyboard vs movie camera emoji)
Zeko369 commentedon Nov 21, 2019
We'll be using TypeORM