Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[8.x] Support broadcasting deleted model events #38547

Closed
wants to merge 1 commit into from

Conversation

taylorotwell
Copy link
Member

@taylorotwell taylorotwell commented Aug 25, 2021

Currently, model broadcasting fails on models that are deleted. The queued broadcast job will fail because the model no longer exists.

This tweaks the behavior to broadcast the model's primary key in the event's model property on a model deletion that is not a soft deleted model.

Assuming this isn't a breaking change as the behavior is pretty broken at the moment.

@GrahamCampbell GrahamCampbell changed the title Support broadcasting deleted model events [8.x] Support broadcasting deleted model events Aug 25, 2021
@driesvints driesvints deleted the broadcast-deletes branch August 26, 2021 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant