Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move from TypeORM to Prisma #1442

Closed
mishraomp opened this issue Sep 22, 2023 · 4 comments
Closed

Move from TypeORM to Prisma #1442

mishraomp opened this issue Sep 22, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@mishraomp
Copy link
Collaborator

mishraomp commented Sep 22, 2023

Kononnable/typeorm-model-generator#329

I don't think typeorm should be considered as option for new projects other than prof of concepts or some workshop exercises. Typeorm is in a bad place. It's been like that for few years and I don't believe this will change any time soon(if ever). There are even some long standing bugs which can result in data loss. Some of the fixes are blocked by inability to introduce breaking changes - next branch(planned 0.3.0 version) has been with us for 3 years now and yet there are no concrete plans on releasing it or throwing that code away.
I've decided to mark this project as maintenance only to make sure that any newcomers think twice before choosing typeorm for their ORM.

TypeORM does not sound good and does not have good model generators, it is better to move to Prisma.
https://www.prisma.io/

thoughts @DerekRoberts ?

@DerekRoberts
Copy link
Member

@mishraomp That's an excellent decision.

@mishraomp mishraomp added the enhancement New feature or request label Sep 22, 2023
@mishraomp
Copy link
Collaborator Author

here is how to integrate with Prisma when using Nest
https://docs.nestjs.com/recipes/prisma

@DerekRoberts DerekRoberts moved this from New to Backlog in DevOps (NR) Sep 26, 2023
@mishraomp
Copy link
Collaborator Author

@mishraomp
Copy link
Collaborator Author

Already done

@github-project-automation github-project-automation bot moved this from Backlog to Done in DevOps (NR) Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants