Skip to content

Commit

Permalink
Update README.MD
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank1234 authored Mar 15, 2023
1 parent 1d1a7d5 commit d97bd73
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,6 @@ We use [Clean Architecture](#inspiration-material), to a very large extend. Our
app and specify the theme. Do not put code in the app module, because in the future, more
app-types might be added (like tv, automotive, instant).

#### Mapping

- Mapping of models is done before handing over the model to an inner layer, as you can see at the
right of the diagram.
- Writing mapping functions between models, entities and DTO ojects is boring: let GitHub Copilot or some other AI tool in Android Studio generate your mapping functions.

#### Use cases

- Use cases are single-purpose: GetUserUseCase, but also: GetUserWithArticlesUseCase.
Expand All @@ -96,6 +90,7 @@ Model Entities live in the data layer and are the local storage objects.
Models map from XDTO to XEntity to X and then probably into a viewstate. Mapping is always done in
the _outside layer_, before being transported to the inner layer.
See [the diagram](@clean-architecture) for more info.
- Writing mapping functions between models, entities and DTO ojects is boring and cumbersome: let GitHub Copilot or some other AI tool in Android Studio generate your mapping functions.

#### Core modules

Expand Down

0 comments on commit d97bd73

Please sign in to comment.