kotlin-suspend-transform-compiler-plugin icon indicating copy to clipboard operation
kotlin-suspend-transform-compiler-plugin copied to clipboard

A Kotlin compiler plugin for transforming suspend functions to platform-compatible non-suspend functions, such as the JVM Blocking API and CompletableFuture

Results 10 kotlin-suspend-transform-compiler-plugin issues
Sort by recently updated
recently updated
newest added

There are certain types that JS doesn't work well with Kotlin i.e. if you have a function that returns a `List`. It'd be nice if there was a way to...

enhancement
help wanted

Have you thought about moving to Kotlin Symbol Processing as a way to work around the library with the compiler api you are encountering? https://kotlinlang.org/docs/ksp-overview.html

enhancement
help wanted

When I try to upgrade the Kotlin version from 2.0.20 to 2.1.0-Beta1, I get the following error when referencing the plugin in Gradle: ``` Unable to load class 'org.jetbrains.kotlin.name.FqName' org.jetbrains.kotlin.name.FqName...

Maybe I need to think about rewriting the documentation?

documentation

```Kotlin /** * Indicates whether there is a generic type used to override the function return type * on the current mark annotation. * * If `true`, when determining the...

enhancement

Apologies if I'm doing something dumb here, I'm super new to this. I can't get it to export `List` Typescript declarations correctly. The plugin config is: ``` suspendTransformPlugin { transformers...

getting in error when implementing this library into our project: ``` Receiver class kotlinx.serialization.protobuf.internal.ObjectEncoder does not define or inherit an implementation of the resolved method 'abstract void encodeNullableSerializableValue(kotlinx.serialization.SerializationStrategy, java.lang.Object)' of...

bug?

Improve the existing code to make it clearer, more maintainable, and easier to contribute to.

improvements

I was wondering if it would be possible to have a transformer that converts `suspend fun foo(): Result` to `fun foo(): Promise` instead of `fun foo(): Promise` I was thinking...

discussion

there seems to be an issue with custom transformers where it won't detect the transformer function if the custom annotation is used in common code if used in js code...