ForestAdmin / lumber

Install Forest Admin in minutes.
https://www.forestadmin.com
MIT License
2.08k stars 106 forks source link

Support for TypeORM #261

Open ernaneluis opened 5 years ago

ernaneluis commented 5 years ago

My application we are using TypeORM for models https://github.com/typeorm/typeorm , however, lumber generates sequelize models files, so it means we need to keep updated the squelize models to match the models from the code base written in typeORM. problem: hard to keep track of 2 models. Any change to support TypeORM models?

johnmpotter commented 4 years ago

We would love TypeORM support as well! I used Forest Admin in a Rails project and loved the direct integration, so my fingers are crossed for something similar with TypeORM. I really want to use Forest Admin over building our own solution but maintaining two models likely won't make sense in the long run. It's fine for reading data, but missing out on validations and transformations when writing is the real problem.

For reference, here's how TypeORM compares to Sequelize and Mongoose in terms of npm downloads:

Screen Shot 2019-12-05 at 9 47 46 AM

Sequelize and Mongoose are still the most used ORM's, but TypeORM is already at the download count that Sequelize was just a year and a half ago.

https://www.npmtrends.com/typeorm-vs-sequelize-vs-mongoose