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

Expanding example - Delete user? #12

Open
sgtsquiggs opened this issue Jul 18, 2016 · 0 comments
Open

Expanding example - Delete user? #12

sgtsquiggs opened this issue Jul 18, 2016 · 0 comments

Comments

@sgtsquiggs
Copy link

How would you use clean architecture to, lets say, delete a user from the list of users? Currently I am re-sending the list of users via presentFetchedUsers, but I would rather tell my view controller to delete a single row from the table.

struct ListOrders {
  struct DeleteUser {
    struct Request {
      let index: Int
    }
    struct Response {
      ???
    }
    struct ViewModel {
      ??
    }
  }
}
@sgtsquiggs sgtsquiggs changed the title Expanding example Expanding example - Delete user? Jul 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant