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

Codegen silently skips some getters

Open
#116 0 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
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
api, tooling

Research direction

Start by tracing converter generation for the MyDo.getData() getter and reproduce the nested Map<String, Map<String, MyDo2>> case described in the issue. Compare local calls with the remote path through ProxyHelper.registerService and determine whether the missing field is an intentional limitation or a conversion bug; done means the behavior is documented or the getter is converted consistently.

Written by the indexing model from the issue text.

Description

Given data object:

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

The converter generated for it silently skips the Map<String, Map<String, MyDo2>> 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?

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.