FoalTS / foal

Full-featured Node.js framework, with no complexity. 🚀 Simple and easy to use, TypeScript-based and well-documented.
https://foalts.org/
MIT License
1.88k stars 137 forks source link

@Column("timestamp") always updated when using repository.save #957

Closed Malouda closed 3 years ago

Malouda commented 3 years ago

Version of FoalTS: 2.4.0

   @Column({ type: "timestamp"})
    expiry!:Date

I know this is a typeorm issue, but it got resolved #4769 but it still exists when i try to use in foalts it still exists reference https://github.com/typeorm/typeorm/issues/5018

LoicPoullain commented 3 years ago

What version of typeorm do you have in your package.json?

Malouda commented 3 years ago

Typeorm version "typeorm": "^0.2.33"

LoicPoullain commented 3 years ago

I'm afraid I won't be of much help on this. It's a TypeORM-specific issue and it's not related to how the framework works. Maybe you could find help on TypeORM slack https://typeorm.slack.com/join/shared_invite/zt-gej3gc00-hR~L~DqGUJ7qOpGy4SSq3g#/shared-invite/email?