-
Notifications
You must be signed in to change notification settings - Fork 679
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
Add support for Immutables #3157
Comments
I'm aware that adding 3rd library to core library does not feel right, it should be done in the top layers. But I coudln't find the right place (except creating a custom converter). Somehow I need to change creator |
For an arrangement such as Immutables, typically, the entity refers to the interface. For Spring Data usage, you would need to divert all Immutables has a ton of annotations and built-in extensions. I wonder why there isn't a way for Immutables to generate For the time being, we do not see strong demand while having other items in our backlog that we see much more demand for. |
@mp911de Thank you, I can close the issue according to your comment. But you added |
We consider adding support for immutables an enhancement. We just don't have bandwidth to implement that. |
Example:
In this code, it can't find constructor because there is a constructor that uses
Builder
as a parameter.I don't want something big like creating constructor using Builder. If the class is auto-generated and the constructor parameter is builder, I want it to ignore it.
I could add
@Value.Style(privateNoargConstructor = true)
annotation to interface, so there would be noArg constructor but that's just workaround. It's not working with transiant types, etc. I prefer first solution if it's okay.The text was updated successfully, but these errors were encountered: