Closed bradherman closed 3 years ago
On a side note, @bradherman, one can also use after hooks (which don't run in case the context is failed).
Oh good call @arthurhess ... Not quite as explicit, but adding a helper method to my BaseInteractor would be super easy :+1:
We currently have rollback callbacks for when the stack fails, but it would be nice to also be able to have success callbacks:
organize CreatePurchase, AuthorizeCard
If card authorization fails:
If it succeeds
It could be accomplished by adding a
MarkSuccess
interactor at the end, but I like the idea of defining callback chains.