Skip to content
Discussion options

You must be logged in to vote

Hello, Tuner!

I'd start with a separate interactor for each use case step expressible in code, defining ports it needs. Unifying is possible, but I wouldn't rush it until I'm sure contract overlap isn't coincidental and components won't evolve independently.

If you need dynamic resolution, Dishka supports it via https://dishka.readthedocs.io/en/stable/advanced/when.html. Classic Strategy pattern is always an option too.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ivan-borovets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #89 on April 06, 2026 19:13.