Timeline for Implementing a REST API in a Clean Architecture
Current License: CC BY-SA 4.0
3 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 19, 2020 at 17:15 | comment | added | egelev |
I believe the example here would have been much more expressive if we had a return type (and parameter type) other than String. A dependency that points the wrong way would be the UseCaseInteractor depending on the Controller's param/return type. So this is the reason we use InputBound and OutputBound to convert these objects to/from the domain model recognized by the UseCaseInteractor and inverse the dependency.
|
|
| Jul 4, 2018 at 13:54 | vote | accept | Carlos | ||
| Jul 3, 2018 at 14:23 | history | answered | VoiceOfUnreason | CC BY-SA 4.0 |