eclipse-vertx / eclipse-vertx/vertx-codegen

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

Open
#151 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
111
Forks
89
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.