Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#151 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
tooling

Research direction

Start by reading the dataobject type metadata and the generator logic that decides which constructors can be mapped. Use DataObjectWithOnlyJsonObjectConstructor as the failure case and trace the related tests. Done means the type exposes whether an empty-parameter constructor is supported and generation no longer assumes one exists.

Written by the indexing model from the issue text.

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

Dominant language
Java
Stars
111
Forks
88
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-vertx/vertx-codegen

All issues in eclipse-vertx/vertx-codegen

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.