Codegen silently skips some getters
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from eclipse-vertx/vertx-codegen
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 15/100
eclipse-vertx/vertx-codegen#361 ·
-
help wanted
Difficulty 4/5 3-5 days Newbie friendliness 35/100
eclipse-vertx/vertx-codegen#340 · 11 comments · 2 reactions ·
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
eclipse-vertx/vertx-codegen#335 ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
eclipse-vertx/vertx-codegen#320 · 4 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
eclipse-vertx/vertx-codegen#319 · 1 comment · 1 reaction ·
All issues in eclipse-vertx/vertx-codegen
Similar issues
-
certification
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
[BUG] ECR GetAuthorizationToken returns a proxyEndpoint for the default region, not the request's Openbug ecr
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Needs: Triage Type: Feature request
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
AntennaPod/AntennaPod#8794 ·
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
github/copilot-sdk#2760 ·