Closed tristancaron closed 1 week ago
Hi! The server module uses JVM reflection to invoke service methods, so the update is not straightforward. But we plan to do it eventually, yes
Ah missed that one. Thanks for the update.
Hi! The server module uses JVM reflection to invoke service methods, so the update is not straightforward. But we plan to do it eventually, yes
Thanks for the JVM tip. I was struggling getting a MP with mingw setup, and hadn't targeted jvm in my project yet. Adding jvm and removing mingw allowed me to build.
If you look at the source code, there is still weak support for code generation in the project. Therefore, hacks at the JVM level.
It's actually a duplicate for #83
Looking at the content of this module, it does seem that it could be moved under
commonMain
. Its dependencies are supporting multiplatform.https://github.com/Kotlin/kotlinx-rpc/blob/main/krpc/krpc-ktor/krpc-ktor-server/build.gradle.kts