eclipse-vertx / eclipse-vertx/vertx-codegen
For dataobject type, provide a method telling whether object has empty parameter constructor?
Open
- 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
Assessment
This issue has not been assessed yet.