Interactions in a Sequence #541
Replies: 2 comments 2 replies
-
It possible to use
|
Beta Was this translation helpful? Give feedback.
-
Somehow I missed when this was initially posted. The thing with the single line is you have no way to modify the data between interactors. Some libraries try to get around this by allowing you to create a context that is shared from one interaction to the next. The issue is this can lead to context dependencies that tie interactions together in unfortunate ways. It might be a bit more typing but handling each one gives you full control over how your work with each interaction. |
Beta Was this translation helpful? Give feedback.
-
Hi! I was currently working on a PoC and deciding between
active_interaction
andinteractor
and this is something I would love to see similar inactive_interaction
. Ideally, execute a sequence of Interactions and delegate the errors to the main caller if anything fails in the process.https://github.com/collectiveidea/interactor
Beta Was this translation helpful? Give feedback.
All reactions