Hi, guys. I want to implement an effect similar to
serializer()
in
kotlinx.serialisation
, like this:
Copy code
@GenerateApi
interface TestApiService
// use
TestApiService.create(client)
I want generate the
create(client)
function for
TestApiService
automatically via
kcp
, so far I have used `SyntheticResolveExtension`/`FirDeclarationGenerationExtension`/`IrGenerationExtension` to make it compile and run normally, but the
Hi! As far as I know code generated in FIR is not available in the IDE until 2.0 is released. If you compile your project into a module and use that module from another project the
create
function should show up. Assuming you added it properly.