DEV Community

Discussion on: Clean Architecture Essentials

Collapse
 
ivanpaulovich profile image
Ivan Paulovich

Hey Darian,

Yes, for each interaction you need to create an use case. I implemented an use case similar to yours on Manga Project github.com/ivanpaulovich/clean-arc.... Checkout the branch "React" for the most up to date code.

BTW your use case implementation is missing a return after outputPort.HandleError. Let me know if you have more questions :)