sequelize / sequelize-typescript

Decorators and some other features for sequelize

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question: Decorators in Typescript >= 5.0

DavFeng1 opened this issue · comments

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

@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

commented

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