Skip to content

Conversation

@thunderhook
Copy link
Contributor

@thunderhook thunderhook commented Mar 1, 2024

Haven't found that many different scenarios. I hope it's enough to show that it works.

If you have any further wishes or suggestions, please let me know.

Closes #3524

@thunderhook thunderhook requested a review from filiphr March 1, 2024 23:04
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 @thunderhook, this looks OK to me. I have only one small request. Let's remove Lombok from the package the javadoc. This is about a super builder, so let's only keep that in the naming. Let's also remove the things that are not needed for the tests like the equals and hashCode methods.

Copy link
Member

Choose a reason for hiding this comment

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

Do we really need a package-info.java for this?

@thunderhook
Copy link
Contributor Author

@filiphr Thanks for the suggestions. I tried to keep it as "original" as possible, hence the equals/hashCode, but no problem. I will remove it.

The package-info.java was was an attempt to show that other (de)lombok(ed) tests can also be added there.

So just name the package `org.mapstruct.ap.test.superbuilder' and remove any trace of Lombok?

@filiphr
Copy link
Member

filiphr commented Mar 3, 2024

So just name the package `org.mapstruct.ap.test.superbuilder' and remove any trace of Lombok?

Indeed, rename the package and remove the Lombok traces. Try to limit it to the minimum that we need to test super builders. Thanks

@filiphr filiphr merged commit e815e3c into main Mar 10, 2024
@filiphr
Copy link
Member

filiphr commented Mar 10, 2024

Thanks @thunderhook

@filiphr filiphr deleted the 5324 branch March 10, 2024 08:15
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.

Improve tests to show that Lombok @SuperBuilder is supported

3 participants