sequelize-typescript
sequelize-typescript copied to clipboard
Class-tranformer usage with seuqlieze model class
Issue
Versions
- sequelize:6.28.0
- sequelize-typescript:^2.1.5
- typescript:^4.9.4
Issue type
- [v] bug report
- [ ] feature request
when using for example X.findAll({includes:[Y]})
class-transformer throws [Class constructor Y cannot be invoked without 'new']
i am using es6 as target in my tsconfig as some threads show to solve this.
Being able to transform sequelize models in queries that use includes option