bufferapp / clean-architecture-koin-boilerplate

A fork of our clean architecture boilerplate, this time using Koin
MIT License
331 stars 52 forks source link

Kotlin Extension Functions #6

Open etonotieno opened 5 years ago

etonotieno commented 5 years ago

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 ?