Kotlin / kotlinx-rpc

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

Introduce common IR backend plugin (1/2) #44

Closed Mr3zee closed 2 months ago

Mr3zee commented 3 months ago

Subsystem Compiler plugins, KSP

Problem Description We want to get rid of KSP plugin replacing it entirely with KCP.

Solution Solution consists of 5 steps (checked tasks are done at the time of this request):

This is Part 1 of 2 of introducing IR plugin, with utility changes Link to Part2: https://github.com/ktorio/krpc/pull/45

Mr3zee commented 2 months ago

Please consider adding unit tests for compatibility transformations and string manipulations to catch the breaking changes quick

We have ProtocolTest that fails if this happens

e5l commented 2 months ago

yep, but this is a sort of integration tests

Mr3zee commented 2 months ago

Yeah, you're right I'll keep that in mind when dealing with new protocol impl, as it somewhere around the corner already