When I use the .build method to create a model. I expect the class properties to be set. When there are no class properties this works...but when the class properties are present it does NOT seem to.
Versions
sequelize: 6.11.0
sequelize-typescript: 2.1.3
typescript: 3.9.10
Issue type
[x] bug report
[ ] feature request
Actual behavior
When I .build on a Model, the @Column properties do NOT get populated with the information supplied in the build call.
Expected behavior
I would expect it to populate the class properties as when you use base sequelize and it sets properties on the class.
Issue
When I use the .build method to create a model. I expect the class properties to be set. When there are no class properties this works...but when the class properties are present it does NOT seem to.
Versions
Issue type
Actual behavior
When I .build on a Model, the @Column properties do NOT get populated with the information supplied in the build call.
Expected behavior
I would expect it to populate the class properties as when you use base sequelize and it sets properties on the class.
Steps to reproduce
Failing example... Model:
Test:
Result:
Working Example... Model:
Test:
Result: