Repository navigation
fix: update child's mpath - #10844
Conversation
…pository Include soft-deleted entities in queryBuilder to fetch required parent's path even if parent is soft deleted. This path is required to perforn the corresponding update of the childs' mpath fix typeorm#10843
| } | ||
| }), | ||
| ) | ||
| .withDeleted() |
There was a problem hiding this comment.
This is the main change of the PR
gioboa
left a comment
There was a problem hiding this comment.
Thanks @JoseCToscano for your help
I added this PR to our release board
|
Warning Rate limit exceeded@gioboa has exceeded the limit for the number of commits or files that can be reviewed per hour. Please wait 11 minutes and 35 seconds before requesting another review. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. 📒 Files selected for processing (3)
✨ Finishing touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
commit: |
PR Code Suggestions ✨
|
|||||||||
PR Code Suggestions ✨No code suggestions found for the PR. |
PR Code Suggestions ✨No code suggestions found for the PR. |
Code Review by Qodo (Alpha)
1. NestedSet trees lack soft-delete handling
|
|
Persistent review updated to latest commit 42c14c9 |
|
I'm not sure if this won't break anything else, would be nice it someone that uses tree entities would check it. |
gioboa
left a comment
There was a problem hiding this comment.
It looks good to me, the change is minimal and we can always revert this change if needed.
Thanks @JoseCToscano for your patience and help.
----- Co-authored-by: gioboa <[email protected]>
----- Co-authored-by: gioboa <[email protected]>

Include soft-deleted entities in queryBuilder to fetch required parent's path even if parent is soft deleted.
This path is required to perform the corresponding update of the childs' mpath
fix #10843
Description of change
Pull-Request Checklist
masterbranchnpm run formatto apply prettier formattingnpm run testpasses with this changeFixes #0000