This repository was archived by the owner on Jul 16, 2021. It is now read-only.
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
Add undo/redo implementation. #1
Open
Description
Implementation:
- There are two stories: purchase product and cancel subscription.
- There is one data action class with do and undo methods: order repository.
Benefits:
- Data access logic in one place. Easy to change do/undo together.
- Two stories describes two separate processes independent from each other. Cancel subscription can have a different number of steps than purchase.