Hello, I was wondering if you would share code mod...
# multiplatform
a
Hello, I was wondering if you would share code modules between client and backend? Most of the examples of KMP code sharing I found were focused on the client. I remembered that the code in the DTO part was often repeated in the client and back ends, so I was thinking about the possibility of reusing them as a single module. But finally, I found that this meant the versions of Kotlin and KTX Serialization must be the same on the client and back ends, so it is not easy to maintain. Would love to hear your experience, thanks in advance.
j
small example of that in
backend
module i nhttps://github.com/joreilly/PeopleInSpace
kotlinx serialization library versions shouldn't need to be the same
a
Thanks, I'll check it out.