-
Notifications
You must be signed in to change notification settings - Fork 11
setProperties behaviour #120
Copy link
Copy link
Open
Description
We have a scenario where one action updates numerous properties on an object.
actions: {
changeItemType(item, type) {
setProperties(item, {
type,
options: options.findBy('type', type)
});
}
}
When we call item.undo() we would expect all the attributes updates in the action to be reverted but it turns out that each attribute change is recorded as one undo.
Is there currently a way to achieve our requirement?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels