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

Allow custom action broadcasts #144

Merged
merged 2 commits into from
Mar 27, 2024
Merged

Allow custom action broadcasts #144

merged 2 commits into from
Mar 27, 2024

Conversation

tonysm
Copy link
Collaborator

@tonysm tonysm commented Mar 27, 2024

Changed

  • Allows broadcasting custom actions (and with no render)

Added

  • Adds a view() method (alias for the existing partial() method) to the pending broadcasts class (this already existed in the pending turbo stream response, but was missing in the pending broadcast)

closes #140

@tonysm tonysm merged commit c824787 into 2.x Mar 27, 2024
9 checks passed
@tonysm tonysm deleted the tm/custom-action-broadcasts branch March 27, 2024 03:17
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.

Ensure we can broadcast empty Turbo Streams (no render) with attributes
1 participant