Sharing Models between Use Cases
Understand the implications of sharing input and output models between use cases within Hexagonal Architecture. Explore how to identify when use cases should share models due to functional binding and when to maintain their independence by separating models to avoid coupling and support maintainability.
We'll cover the following...
We'll cover the following...
In the chapter “Implementing a Use Case”, it was argued that different use cases should have a different input and output model, meaning that the types of the input parameters and the types of the return values ...