Skip to content

Fixed parent mapper name in generated mapper class of a member class#149

Open
mariotaku wants to merge 1 commit intobluelinelabs:developmentfrom
mariotaku:development
Open

Fixed parent mapper name in generated mapper class of a member class#149
mariotaku wants to merge 1 commit intobluelinelabs:developmentfrom
mariotaku:development

Conversation

@mariotaku
Copy link
Copy Markdown
Contributor

For a example, if you have classes structured like this:

 public class Sample {

    @JsonObject
    public class A {

    }

    @JsonObject
    public class B extends A {

    }

 }

You'll see errors during complication.

That's because Sample$B$$JsonObjectMapper#parentObjectMapper
referenced to wrong class name for A Sample$A instead of Sample.A.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant