Android-CleanArchitecture-Kotlin icon indicating copy to clipboard operation
Android-CleanArchitecture-Kotlin copied to clipboard

Use ktor and kotlinx serialization

Open rahulsainani opened this issue 7 months ago • 1 comments

What?

On top of #125 – Use ktor instead of retrofit and kotlinx serialization instead of gson for KMP support – Update MovieRepository to use ktor – Add ApiResponse to model different api responses to objects, this encourages mapping exceptions to objects at the edge of the system – Add safeRequest utility that maps to ApiResponse – Test updates

rahulsainani avatar Apr 15 '25 19:04 rahulsainani

@android10 Thanks for the review Fernando! 🙌 I agree about networking and rest of "core/lib" functionality being features but wanted to separate them into independent functionalities. We can also keep them in core and and see if we need to break them in the future or not. I'm open to your thoughts! :)

rahulsainani avatar Apr 26 '25 08:04 rahulsainani