You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your use case should take two inputs and return nothing. The first input is whatever data is necessary to do its job. This is not a domain layer entity. It's a DTO. The second is an interface for a presenter. This presenter takes a response DTO, not an entity. The use case calls the presenter when it feels like it.
Your use case should take two inputs and return nothing. The first input is whatever data is necessary to do its job. This is not a domain layer entity. It's a DTO. The second is an interface for a presenter. This presenter takes a response DTO, not an entity. The use case calls the presenter when it feels like it.
https://softwareengineering.stackexchange.com/questions/357052/clean-architecture-use-case-containing-the-presenter-or-returning-data
The text was updated successfully, but these errors were encountered: