eclipse-vertx / eclipse-vertx/vertx-codegen

For dataobject type, provide a method telling whether object has empty parameter constructor?

Aperta
#151 2 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

Hi:

For current dataobject type, the minimum requirement is to provide json constructor
but there is no way for generator to know whether empty constructor is supported
It could be useful since for most dataobject, empty parameters constructor bring us convenience
If we generate all dataobject with empty constructor, the test will fail
since there is DataObjectWithOnlyJsonObjectConstructor and could not mapped to any constructor

Hope it helps

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.