I have checked many articles and discussions around the web.
So we have the main diagram:
So we have Controller pointing directly to RequestModel.
So straight to the point, should I:
- Create a RequestModel class on "delivery" (is how uncle bob calls this layer) layer that implements a RequestModel interface, create the instance of RequestModel concrete class in controller and "throw it in the flow"
- Create a RequestModel class on use-case layer, create the instance of RequestModel class in controller and "throw it in the flow''
From my initial understanding, option 2 violates some SOLID principles, correct?