-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[FEATURE] add onBuilder to @Builder #2293
Comments
@xenoterracide a workaround i know is just declare the builder class:
This is practically how people are making Lombok and Jackson work together: https://stackoverflow.com/a/48801237/2908793 But i agree in advance that this is just a workaround, and requested functionality would be nice, since we already have this thing on |
I'm not sure about this. The So maybe the workaround is the right solution? |
I tend to agree. However, with |
How complex exactly? I may need to use that at some point, not sure if this
is documented anywhere..
…On Wed, Dec 4, 2019, 17:32 Jan Rieke ***@***.***> wrote:
I tend to agree. However, with @SuperBuilder I see things a bit
differently, because the declaration is quite complex, and there are 2 of
them.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2293>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABIERJZU6XAYFH2CRS4CSTQW7LTPANCNFSM4JP4QRDA>
.
|
It's so complex that the documentation says: Use |
The problem with using this on |
Most people would use it for Jackson to deserialize using the builder. For that case, you only need it on the I'm unsure, but right now I would vote for a visibility and prefix option for |
@janrieke Unless I'm mistaken (@rzwitserloot can confirm or deny) #2174 should be included in the next release, which contains support for prefixing |
"Set" methods for |
Describe the feature
Describe the target audience
this is another potential solution to uber/NullAway#321
The text was updated successfully, but these errors were encountered: