lumber icon indicating copy to clipboard operation
lumber copied to clipboard

Support for TypeORM

Open ernaneluis opened this issue 5 years ago • 1 comments

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?

ernaneluis avatar Oct 01 '19 13:10 ernaneluis

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

johnmpotter avatar Dec 05 '19 18:12 johnmpotter