eclipse-vertx / eclipse-vertx/vertx-codegen

Codegen silently skips some getters

Aperta
#116 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
111
Fork
89
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Given data object:

```
@DataObject(generateConverter=true)
public class MyDo {
private Map> data;
... JsonObject ctor, toJson, getter/setter
}
```

The converter generated for it silently skips the `Map> getData()` method conversion, does not throw errors during build.

To me, this did not occur at all when service (that defines API using MyDo) used locally, all worked just fine. But once used remotely (via ProxyHelper.registerService), things suddenly broke naturally, as data was simply missing when sent over wire.

Is this intentional? As I got really puzzled where the data goes away?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.