Skip to content
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
@proofit404

Description

@proofit404

Implementation:

  1. There are two stories: purchase product and cancel subscription.
  2. There is one data action class with do and undo methods: order repository.

Benefits:

  1. Data access logic in one place. Easy to change do/undo together.
  2. Two stories describes two separate processes independent from each other. Cancel subscription can have a different number of steps than purchase.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions