Skip to content

Conversation

@chenzijia12300
Copy link
Contributor

Copy link
Member

@filiphr filiphr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for working on this @chenzijia12300. I'll need to check it out locally, as I am not sure that the fix in the MappingResolverImpl is the right one.

Copy link
Member

@filiphr filiphr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chenzijia12300 I've adapted the change that is needed to fix this.

Can you perhaps explain why we need so many mappers in the tests? Isn't it enough to only have the AnimalMapper for this issue?

@chenzijia12300
Copy link
Contributor Author

Sorry for submitting more than one useless test class, I added multiple mappers at that time to better debug the logic of ResolvingAttempt class

@filiphr
Copy link
Member

filiphr commented Aug 28, 2022

Sorry for submitting more than one useless test class, I added multiple mappers at that time to better debug the logic of ResolvingAttempt class

No need to apologise, I was only being curious. I've pushed a commit that removes the extra test classes. Will merge once the CI is done

@filiphr filiphr merged commit 3cc2aa7 into mapstruct:main Aug 28, 2022
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.

SubclassMapping stackoverflow exception

2 participants