eclipse-vertx / vertx-codegen

Vert.x code generator for asynchronous polyglot APIs
Apache License 2.0
105 stars 92 forks source link

Vert.x future type should be considered as a first class citizen #317

Closed vietj closed 3 years ago

vietj commented 3 years ago

Vert.x future type io.vertx.core.Future should be considered as a first class citizen of codegen instead of being seen as a generated type. This open several perspectives

This change adds a new ClassKind.FUTURE corresponding to the use of io.vertx.core.Future type and this type won't be anymore a generated type.

As consequence io.vertx.core.Future and io.vertx.core.CompositeFuture will not have a corresponding generated type in generators. Such type are actually irrelevant in most cases and can even be confusing (e.g with RX)