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

Improved integration with Global ID #928

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Alexander-Senko
Copy link

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

Description

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

Testing

  1. Decorate an object.
  2. Serialize the decorated object with Global ID or pass it to a job.
  3. Deserialize the object.
  4. Check if it's the same one and is still 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.
Alexander-Senko added a commit to Alexander-Senko/draper that referenced this pull request Feb 6, 2024
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.

ActiveJob Integration
1 participant