-
Notifications
You must be signed in to change notification settings - Fork 61
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
Ability to have multiple pending transitions for same column #14
Comments
Hi @binaryweavers ! Thanks for your interest in the package. I've also thought about the use case you mention. I think adding a Thanks for the suggestion. |
Pleasure @asantibanez , in fact thank you for building for community. |
One more thing I felt in |
Thanks @binaryweavers for the feedback. It felt confusing for me that Definitely a breaking change but made more sense to me. What do you think? Did the previous approach make more sense? |
Yes, I think "previous state" for |
Yeah. You have to add checks now. I think it makes sense to have that change reversed. 🤔 |
Yes, That covers most of the use cases 👍 |
Sounds good.
Did you try the new changed attributes feature?
On Sun, 21 Feb 2021 at 13:57 Wali Razzaq ***@***.***> wrote:
Yes, That covers most of the use cases 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#14 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABHDT6CWCO4RDUAV6ZXFWVDTAFJPZANCNFSM4XA6KQ2Q>
.
--
Saludos,
Andrés Santibáñez B
|
Unfortunately, I couldn't get to that yet. But that feature is a good addition though 👍. |
Summary
@asantibanez, Thank you for the awesome and simple package.
I have a use case when there are multiple pending transitions that need to run one after another. Currently when
transitionTo(...)
method deletes all the pending transitions of the column, so the first pending transition i.e. call totransitionTo(...)
would wipe the rest.Proposal
I think there might be some sort of opt-in
boolean
type flag default totrue
on the pending transition itself which can be configured when pushing a pending transition. e.g. if it should be canceled or not after the latest transition.The text was updated successfully, but these errors were encountered: