vertx-lang-kotlin
vertx-lang-kotlin copied to clipboard
Vert.x for Kotlin
For instance it misses RouterFactory.createAwait and helpers for options. Seen in Beta1.
Sub-classing the Launcher in Kotlin produces a fat jar that does not run with any commands: ``` Usage: java -jar build/libs/kotlin-launcher-bug-1.0-SNAPSHOT-fat.jar [COMMAND] [OPTIONS] [arg...] Commands: bare Creates a bare instance...
It would be nice to have have support for Kotlin's Flow wherever fitting, e.g. for streaming results from postgres. It has been promoted to sable recently: https://github.com/Kotlin/kotlinx.coroutines/releases/tag/1.3.0 and we are...
Hi, when I am using PubSub with `vertx-redis-client` and Kotlin, I found that `ReceiveChannel` generated by `Redis` cannot work: **The first test** ```kotlin @ExperimentalCoroutinesApi @FlowPreview override suspend fun subscribe(): ReceiveChannel...
executeBlockingAwait calls awaitResult If awaitResult failed, it will throw an exception instead of return null The return type should be [T] but not [T?]
Given the following (contrived) data object: ```kotlin @DataObject(generateConverter = true) class StudentList() { var names: MutableList = mutableListOf() constructor(json: JsonObject) : this() { StudentListConverter.fromJson(json, this) } fun toJson(): JsonObject =...
This fixes #158.
Consider the following `DataObject`: ```kotlin @DataObject(generateConverter = true) class Account() { var isActive: Boolean? = null constructor(json: JsonObject) : this() { AccountConverter.fromJson(json, this) } } ``` When the converter is...
From https://github.com/vert-x3/vertx-web/issues/1444 The example code on handling JSON responses on https://vertx.io/docs/vertx-web-client/kotlin/#_handling_http_responses is syntactically incorrect in Kotlin. `client.get(8080, "myserver.mycompany.com", "/some-uri").as(BodyCodec.jsonObject()).send({ ar ->` should be ``` client.get(8080, "myserver.mycompany.com", "/some-uri").`as`(BodyCodec.jsonObject()).send({ ar -> ```
Hello All, This pull request includes the Router DSL that I am working on. See #91 Any feedback is welcome! Tim