Re:Stator: A full-stack boilerplate – releases, deployments,...
by abrkn on Monday November 02, 2020 @02:27AM
(#24965489)
I've been using TypeOrm in production for a few years in a project with dozens of entity types and hundreds of queries. My recommendation is to use something else. Anyone know of an alternative?
Re:Stator: A full-stack boilerplate – releases, deployments,...
by yann510 on Monday November 02, 2020 @07:55AM
(#24967626)
Oh wow that is not reassuring at all, I'll look around for an alternative.
Re:Stator: A full-stack boilerplate – releases, deployments,...
by yann510 on Monday November 02, 2020 @12:18AM
(#24965023)
I haven't used typeorm for any real world projet yet. Although when I tried using the mongo driver, literally nothing worked. I also ran into problems from the generated migrations where I would get errors when trying to run them.
Even with these encountered problems, I'm still willing to give it a try for my upcoming project. I'll probably write an article on this if things go bad.
For sure, this is less mature then the others out there, but I think it has a bright future as it has a nice syntax and cool features.
Re:Stator: A full-stack boilerplate – releases, deployments,...
by nahtnam on Monday November 02, 2020 @02:37AM
(#24965522)
Check out Prisma. It generates lot more complex types and supports relationships pretty well
Re:Stator: A full-stack boilerplate – releases, deployments,...
by whofw on Monday November 02, 2020 @09:57AM
(#24968749)
I've been really interested in checking out Primsa, but I was a little concerned about putting an extra layer between the database and the app. I should give it another look.
Re:Stator: A full-stack boilerplate – releases, deployments,...
by yann510 on Monday November 02, 2020 @07:56AM
(#24967638)
I will definitely check this out, thanks for sharing!
Re:Stator: A full-stack boilerplate – releases, deployments,...
by nikolasburk on Monday November 02, 2020 @09:33AM
(#24968485)
Nikolas from the Prisma team here :) let me know if you have any questions, always happy to help! (You can ping me on the Prisma Slack [1], I'm `@nikolasburk` there as well).
Also note that we've just opened up an early access program for Prisma Migrate [2] (which enables schema and data migrations), would love to hear your thoughts on our approach!
[2] https://www.notion.so/prismaio/Public-Documentation-for-Pris...
Re:Stator: A full-stack boilerplate – releases, deployments,...
by yann510 on Monday November 02, 2020 @11:51AM
(#24970125)
Awesome, will definitely check that out!
Honestly, I don't like any of the Node ORMs out there, especially when you compare them to more mature projects like Rails' ActiveRecord or Laravel's Eloquent.