Commit e2c12de
committed
fix(tasks): clear assignee relation when updating assignedTo FK
TypeORM caches the loaded relation object. When updating only the FK
column (assignedTo), the cached assignee relation would override the
new FK value during save. Clearing the relation ensures the new
assignedTo value is properly persisted.1 parent 7a13564 commit e2c12de
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
0 commit comments