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

TypeORM future? #212

Closed
capioc opened this issue Mar 28, 2021 · 6 comments
Closed

TypeORM future? #212

capioc opened this issue Mar 28, 2021 · 6 comments
Labels
good first issue Good for newcomers question Further information is requested

Comments

@capioc
Copy link

capioc commented Mar 28, 2021

Considering the state of TypeORM project, the development of which is almost dead, what is its future regarding nHipster?

Is it still considered stable and production ready?

Thank you

@ghost ghost added the question Further information is requested label Mar 29, 2021
@ghost
Copy link

ghost commented Mar 29, 2021

Hi @capioc,
Thanks for the interest!
TypeORM is a framework to support ORM for database in NHipster, but it is not the entire app.
NHipster is based on NestJS (not dead), and for the database now typeorm support all db types without any problems (https://github.com/typeorm/typeorm/blob/master/docs/entities.md#entities).

So it is not a problem that typeORM is almost dead. Besides we are now development the new nhipster 2.0.0 with vuejs and improvements #211

@ghost ghost self-assigned this Mar 29, 2021
@ghost ghost added the good first issue Good for newcomers label Mar 29, 2021
@capioc
Copy link
Author

capioc commented Mar 29, 2021

Hi @amanganiello90 , thanks for the prompt reply!

I know that NHipster is so much more than TypeORM, but it's such a crucial part of its architecture. I am not implying that NHipster is going to die.

I was just beginning a new project and after using JHipster at work I really wanted to give NHipster a try. However, I saw that TypeORM having so many open issues and a discussion that its maintenance is not sustainable and consistent. And a lot of people don't feel confident to use it for new projects.

That's why I wanted to hear your opinion on that and if there are thoughts to integrate a different ORM solution in the future.

@ghost
Copy link

ghost commented Mar 29, 2021

At this moment the typeORM usage in NHipster covers all the features (sql, relationship and mongodb). So for now there aren't problems in NHipster for its. Maybe in future if it is necessary, we could evaluate another solution, but now I don't know.

@capioc
Copy link
Author

capioc commented Mar 29, 2021

Alright thank you very much!

I will start my project with NHipster and I will report back if any issue arise

@ghost
Copy link

ghost commented Mar 29, 2021

For nodejs there are these other following ORM project used in backend development:

  • sequelize
  • bookshelf
  • waterline
  • objection

Nothing has the db support as TypeORM (it supports al lot of database with robust relationship mapping).

If you could suggest any other solutions, it will be great.
Thanks.

@ghost
Copy link

ghost commented Apr 6, 2021

I hope that my explanation is been clear. So I consider this question/issue resolved.

@ghost ghost closed this as completed Apr 6, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant