You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Elevator pitch, describe and sell us your feature request
As a developer, I want be able to attach callbacks on the organizer's level so that I be able to re-use interactors in different contexts
Is your feature request related to a problem
I'm always frustrated when I need to use a specific interactor in different contexts.
Sometimes a specific interactor is built to expect a specific input for example user_id while the current context has user object instead, I need to be able to set the user id before the execution of this interactor.
From the example mentioned above, I can create another command called find_user_token_by_user to expect a user object instead of user_id but it causes unnecessary logic duplication.
Additional Comments
Another use case if to be able to fail context after an execution of a specific interactor only in this context.
Elevator pitch, describe and sell us your feature request
As a developer,
I want be able to attach callbacks on the organizer's level
so that I be able to re-use interactors in different contexts
Is your feature request related to a problem
I'm always frustrated when I need to use a specific interactor in different contexts.
Sometimes a specific interactor is built to expect a specific input for example
user_id
while the current context has user object instead, I need to be able to set the user id before the execution of this interactor.Have you considered any alternatives
From the example mentioned above, I can create another command called
find_user_token_by_user
to expect auser object
instead ofuser_id
but it causes unnecessary logic duplication.Additional Comments
Another use case if to be able to fail context after an execution of a specific interactor only in this context.
The text was updated successfully, but these errors were encountered: