Kotlin / kotlinx-rpc

Add asynchronous RPC services to your multiplatform applications.
https://kotlin.github.io/kotlinx-rpc/
Apache License 2.0
753 stars 17 forks source link

Introduce @Rpc annotation #216

Closed Mr3zee closed 3 weeks ago

Mr3zee commented 3 weeks ago

Subsystem All modules

Problem Description Starting from Kotlin 2.0.20 Compiler FIR plugins and unable to resolve marker interfaces. This prevents us from upgrading to newer versions. Related issue: https://youtrack.jetbrains.com/issue/KT-72654/

Solution To resolve services we now need an annotation, namely @Rpc. However, this makes two similar names: RPC for interface and Rpc for annotation. So RPC is now changed to RemoteService. It will be with us while no better name is found.