Can you explain me what are the benefits of such abstraction as Input Ports in Clean Architecture? Why not use Interactors / Use Cases directly? I understand the role of Output Ports - this way use cases don't have to know about presenters and other adapters. But can't wrap my head around this one. In addition, is there any relation between repository interface and ports? Can repository interfaces be considered Input or Output ports? Thank you!
Aucun commentaire:
Enregistrer un commentaire