@julienviet ok, so the only error remaining for the current DataObject test cases is the JSON only constructor. It needs to be special cased. What is the preferred option here, it could be:
- omit this helper function because it won’t do anything special
- make a helper function that goes right into the JSON DSL from vertx-kotlin-common-json
for example, the 2nd option would produce:
fun DataObjectWithOnlyJsonObjectConstructor(block: JsonObject.() -> Unit)
): DataObjectWithOnlyJsonObjectConstructor {
io.vertx.codegen.testmodel.DataObjectWithOnlyJsonObjectConstructor(Json.obj(block))
}