When trying to update update: false
column with @UpdateDateColumn the update column is updated
#8393
Labels
update: false
column with @UpdateDateColumn the update column is updated
#8393
Issue Description
Let's say I have this entity:
And I try to update the
readOnlyColumn
columnExpected Behavior
Should not update the
readOnlyColumn
AND should not update thelastUpdated
columnActual Behavior
Update the
lastUpdated
columnSteps to Reproduce
Reproduction Repo, It contains
docker-compose.yml
and the minimal code that is required to create this issue.Just run
npm i && npm start
and it will start the DB and the "test"My Environment
Plain TS
v16.6.2
v4.5.2
v0.2.41
Additional Context
Relevant Database Driver(s)
I think this bug affects all DBs
aurora-data-api
aurora-data-api-pg
better-sqlite3
cockroachdb
cordova
expo
mongodb
mysql
nativescript
oracle
postgres
react-native
sap
sqlite
sqlite-abstract
sqljs
sqlserver
Are you willing to resolve this issue by submitting a Pull Request?
The text was updated successfully, but these errors were encountered: