sequelize / sequelize-typescript

Decorators and some other features for sequelize
MIT License
2.77k stars 279 forks source link

Question: Decorators in Typescript >= 5.0 #1655

Open DavFeng1 opened 1 year ago

DavFeng1 commented 1 year ago

Is there plans to support typesciprt 5.0 decorators? Should we plan to use experimentalDecorators for the foreseeable future?

WikiRik commented 1 year ago

@ephys I think you can answer what the plans are for sequelize v7 (either already in the beta or in a later minor release)

For context; the functionality from sequelize-typescript is a part of the 'regular' sequelize package starting with v7 (the next major release). Don't expect that support will be added in the current major release since progress on v7 is quite far

ephys commented 1 year ago

There are plans for supporting the new decorators format (sometimes after Sequelize 7 is stable). When we imported the decorators in @sequelize/core, we put all decorators that use the old format under @sequelize/core/decorators-legacy to be able to support the new decorators under @sequelize/core/decorators