Skip to content

Commit 7de4890

Browse files
fix: deletedAt column leaking as side effect of object update while creating a row (#10435)
1 parent 7a58bbf commit 7de4890

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/persistence/SubjectExecutor.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1079,6 +1079,9 @@ export class SubjectExecutor {
10791079
// entities does not have virtual columns
10801080
if (column.isVirtual) return
10811081

1082+
// if column is deletedAt
1083+
if (column.isDeleteDate) return
1084+
10821085
// update nullable columns
10831086
if (column.isNullable) {
10841087
const columnValue = column.getEntityValue(subject.entity!)

0 commit comments

Comments
 (0)