Repository navigation
fix: soft deletion should not update the already soft deleted rows - #10705
Conversation
gioboa
left a comment
There was a problem hiding this comment.
Thank you @hassanmehdi98 for your help
I added this PR to our board for the next releases.
PR Code Suggestions ✨Latest suggestions up to 6eb9c26
Previous suggestionsSuggestions up to commit 31cc389
✅ Suggestions up to commit ea3285c
✅ Suggestions up to commit 3b0d2ab
✅ Suggestions up to commit 60eb587
Suggestions up to commit 4877b89
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||
commit: |
gioboa
left a comment
There was a problem hiding this comment.
I renamed the test file and added the missing OR condition test.
PR Code Suggestions ✨No code suggestions found for the PR. |
Code Review by Qodo (Alpha)(Review updated until commit 4877b89)
1. `deleteDateColumn?.propertyName` may be undefined
|
|
Persistent review updated to latest commit 60575b9 |
|
Persistent review updated to latest commit 6e8a534 |
|
Persistent review updated to latest commit 4877b89 |
gioboa
left a comment
There was a problem hiding this comment.
Thanks @hassanmehdi98 for your help 👏
Code Review by Qodo
1. Tests in github-issues, not functional
|
|
Persistent review updated to latest commit 3b0d2ab |
|
Persistent review updated to latest commit ea3285c |
|
Persistent review updated to latest commit 31cc389 |
This reverts commit 31cc389.
|
Persistent review updated to latest commit 6eb9c26 |
|
@hassanmehdi98 highly appreciated ✨ |
…ypeorm#10705) Co-authored-by: gioboa <[email protected]>

Description of change
Current Behavior
After a soft deletion, if you do a soft delete again with the same condition, it updates the
deleted atcolumn of the previously soft deleted rows as well.New Behavior
Rows that were already soft deleted previously will be excluded from further soft deletion
Fixes #10389
Pull-Request Checklist
masterbranchnpm run formatto apply prettier formattingnpm run testpasses with this changeFixes #10389