-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
[BUG] @JsonUnwrapped not copied to @Builder methods in Eclipse IDE for record #3315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This issue affects all copyable annotations on record components and is not limited to |
@rzwitserloot @Rawi01 After this change, the intent was to also imply this over classes(not only records)?
in our test case, we were able to mock this earlier as
Of course, I acknowledge that the test case should have taken into consideration to mock |
@namannigam I'm not quite sure what, specifically, is failing. How does Or, if it's solely about the fact that your |
The difference is in the auto generated |
@namannigam I think you skipped 1.18.28 because we added support for Changelog:
|
@Rawi01 Got it, that should resolve my concern. My bad for not specifying that I was relying on the version upgrade of Lombok via |
Describe the bug
In Eclipes IDE lombok fails to copy the Jackson annotation @JsonUnwrapped from a record to the method on @builder's. This works fine outside of Eclipse IDE. This issue seems related to #2736
Notice, this seems to work fine if used with class rather than record
To Reproduce
Run the following test case, this will fail in Eclipse as the @JsonUnwrapped is not copied to the builder() class method inner(). The same test case will work outside of Eclipse.
Expected behavior
This should also work in Eclipse IDE.
Version info (please complete the following information):
The text was updated successfully, but these errors were encountered: