Messagable::threads() does not respect soft deletes - so how do I truly remove a participant? #376
Answered
by
cmgmyr
cyrillkalita
asked this question in
Q&A
|
Could be a silly question, really, but So a test structured like this, fails:
The pivot attribute deleted_at is populated, as expected.
I read #205 and cannot help but wonder: am I missing something obvious? |
Answered by
cmgmyr
Jan 21, 2022
Replies: 1 comment 1 reply
|
@cyrillkalita thanks for reporting. You are right, those relationships don't respect soft deletes. I'm surprised that 1. this was missed, and 2. no one has reported this sooner haha. I moved this to issue #379 and a PR fix in #380. Would you give it a quick glance to double I covered everything? 🙏 |
1 reply
Answer selected by
cmgmyr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@cyrillkalita thanks for reporting. You are right, those relationships don't respect soft deletes. I'm surprised that 1. this was missed, and 2. no one has reported this sooner haha.
I moved this to issue #379 and a PR fix in #380. Would you give it a quick glance to double I covered everything? 🙏