Hi,
But, for now, I have to ask about the necessity of the Input Boundary interface which is implemented by a Use Case.
Do we really need do decouple it from the Controller?
By what I see, the Controller is specific to the Use Case.
If I'm testing, the test class is our Controller and it is specific to the Use Case.
If it's a Servlet, it will be specific to the Use Case.
So, why do I need to create a lot of infrastructure (Interface and, by what I've read here, a UseCaseFactory)?
In time, couldn't we start a common project to discuss all this?
One that starts with a test, testing a use case, implementing a use case, with validations, business rules, application rules, etc.?
Then we could go to create a specific delivery mechanism to see it working.
Then another delivery mechanism and so on.
What I see is a lot of different projects trying to implement the Clean Architecture, each one with it's own ideas.
What Id like to see is: if I do this way, would Uncle Bob give a "Clean Architecture Badge"? ;-)
Best regards!!!