Richard Gomez

Results 129 comments of Richard Gomez

Updated to the latest stable version, 1.6.10. https://kotlinlang.org/docs/releases.html#release-details

Yes, that's what I was referring to by `...Of` methods. Those are useful for constructing Java data objects in Kotlin but, in my experience, aren't as compelling or reliable for...

Hey @aesteve, Have you had a chance to make any updates? I'd like to help out, but don't want to duplicate effort. ---- Assuming not, @vietj / @pmlopes / @tsegismont,...

> But it didn't generate the corresponding `Await` methods in the `generated` path. Did I miss anything? @dangfan Is `vertx-codegen` also defined for kapt? ``` kapt "io.vertx:vertx-codegen:$vertxVersion" ```

> so you are saying taht we should continue supporting the generation of extension methods for coroutines ? It's worth noting that the Kotlin team prefers `.await()` extension methods over...

> > > so you are saying taht we should continue supporting the generation of extension methods for coroutines ? > > > > > > It's worth noting that...

I don't see `null` as synonymous with failure; some methods have [`@Nullable`](https://github.com/vert-x3/vertx-codegen/blob/master/src/main/java/io/vertx/codegen/annotations/Nullable.java) results, for example: * [`io.vertx.redis.client.RedisAPI`](https://github.com/vert-x3/vertx-redis-client/blob/master/src/main/java/io/vertx/redis/client/RedisAPI.java#L54-L57) ```java default RedisAPI append(String arg0, String arg1, Handler handler) { send(Command.APPEND, arg0, arg1).setHandler(handler);...

Does the server by chance send a `vary` header? The `CachingWebClient` doesn't cache `vary` responses by default. https://vertx.io/docs/apidocs/io/vertx/ext/web/client/CachingWebClientOptions.html#setEnableVaryCaching-boolean-

This is an unfortunate regression since the alternatives to `@GenIgnore` are quite ugly. (See [this thread](https://github.com/vert-x3/vertx-guide-for-java-devs/issues/28#issuecomment-411896310)) I'll see if I can pinpoint the cause.

This seems to be caused by the newly added `checkConstantType` method: https://github.com/vert-x3/vertx-codegen/blob/b075b22b5fb41acb47ce9b15580b5c2d705a4535/src/main/java/io/vertx/codegen/ClassModel.java#L294-L299 This example service: ```kotlin @VertxGen interface ExampleService { @GenIgnore companion object { @JvmStatic fun create(vertx: Vertx): ExampleService =...