clean-architecture-koin-boilerplate icon indicating copy to clipboard operation
clean-architecture-koin-boilerplate copied to clipboard

Kotlin Extension Functions

Open etonotieno opened this issue 6 years ago • 0 comments

Hello, can the app use Kotlin Extension Functions to map the data in the Remote and Cache modules instead of using a Mapper interface? Maybe this will not be clean in some way since the function will only apply to the Data Models that have been specified but in my opinion it's one less object we have to create or mock. Your thoughts @hitherejoe ?

etonotieno avatar Oct 14 '18 10:10 etonotieno