ORM for TypeScript and JavaScript. Supports MySQL, PostgreSQL, MariaDB, SQLite, MS SQL Server, Oracle, SAP Hana, WebSQL databases. Works in NodeJS, Browser, Ionic, Cordova and Electron platforms.
As typeorm is already on typescript 5.3.3. I don't see any issues in migrating the decorators.
Considered Alternatives
I don't see any alternatives for this issue. If we don't keep up with the constantly evolving typescript version, I'm afraid most softwares wouldn't be able to use typeorm.
Additional Context
No response
Relevant Database Driver(s)
[ ] aurora-mysql
[ ] aurora-postgres
[ ] better-sqlite3
[ ] cockroachdb
[ ] cordova
[ ] expo
[ ] mongodb
[ ] mysql
[ ] nativescript
[ ] oracle
[ ] postgres
[ ] react-native
[ ] sap
[ ] spanner
[ ] sqlite
[ ] sqlite-abstract
[ ] sqljs
[ ] sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
Feature Description
I'm keen in keeping up my codebase modern, well maintained and doesn't want to be left out.
Now that decorators are a real thing with Typescript 5.0. It is finally the time to actually remove these two typescript configurations.
This tech debt in typeorm blocks me from using the full version of the decorators introduced in TS5.0
The Solution
Here are some of the examples on implementing the decorators with experimental flags disabled. https://devblogs.microsoft.com/typescript/announcing-typescript-5-0/#decorators
Also, decorator metadata is introduced in typescript in 5.2 https://devblogs.microsoft.com/typescript/announcing-typescript-5-2/#decorator-metadata
As typeorm is already on typescript 5.3.3. I don't see any issues in migrating the decorators.
Considered Alternatives
I don't see any alternatives for this issue. If we don't keep up with the constantly evolving typescript version, I'm afraid most softwares wouldn't be able to use typeorm.
Additional Context
No response
Relevant Database Driver(s)
Are you willing to resolve this issue by submitting a Pull Request?
Yes, I have the time, and I know how to start.