-
Notifications
You must be signed in to change notification settings - Fork 526
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
Conversation
232c68f
to
5b647d2
Compare
Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default. Resolves drapergem#910. Requires drapergem#928.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you rebase with the master
and run CI?
I tried to run the test on my local with this PR, but some tests failed.
5b647d2
to
7e35cda
Compare
Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default. Resolves drapergem#910. Requires drapergem#928.
Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default. Resolves drapergem#910. Requires drapergem#928.
Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default. Resolves drapergem#910. Requires drapergem#928.
Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default. Resolves drapergem#910. Requires drapergem#928.
@Alexander-Senko |
Thus, could you approve it, please?
I don't have a strict opinion on that. You can reattach it to whatever milestone you like. It does nothing for now except organizing the issues until we get access to the gem. I've just started organizing the issues and introduced new milestones. Any help on that is appreciated.
I see it a bit differently — as a know bug, but not an official API 🤔 Patch releases may break hacks and workarounds if they don't follow official API, may not they? |
Thanks for your detailed explanation. I understand what the purpose.
I don't think so. This is documented behavior, you have changed the document, right? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Implementing `Decorator.find` improves compatibility with Global ID and allows one to use decorated objects in jobs seamlessly. Resolves drapergem#663. Improves drapergem#817.
7e35cda
to
430d08f
Compare
Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default. Resolves drapergem#910. Requires drapergem#928.
Overriding defaults for Turbo broadcast jobs allows one to get decorated objects in model partials by default. Resolves drapergem#910. Requires drapergem#928.
Description
Implementing
Decorator.find
improves compatibility with Global ID and allows one to use decorated objects in background jobs seamlessly.Testing
To-Dos
References