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

Integration with Turbo::Broadcastable #929

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Alexander-Senko
Copy link

@Alexander-Senko Alexander-Senko commented Feb 6, 2024

Description

Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default.

Testing

  1. Broadcast an object with Turbo.
  2. Check if the local variable passed into the partial is decorated.

To-Dos

  • tests
  • documentation

References

Implementing `Decorator.find` improves compatibility with Global ID and
allows one to use decorated objects in jobs seamlessly.

Resolves drapergem#663.
Improves drapergem#817.
Overriding defaults for Turbo broadcast jobs allows one to get decorated
objects in model partials by default.

Resolves drapergem#910.
Requires drapergem#928.
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.

Usage with Turbo::Broadcastable
1 participant