|
|
|
|
|
by henriquelimao
3423 days ago
|
|
It seems that in the end the initial function Post(ReservationRequestDto dto) has to call the tryAcceptComposition which has its dependencies hard coded there. So how exactly this solved the issue? If you pass the dependencies as parameters in the tryAcceptComposition function, the Post would have to know its dependencies and we would be back to the initial state. I would like to know the whole example he showed before using this model to see how this scale for more than one function. |
|