Skip to content
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

Invoker builder #181

Open
gdupontf opened this issue Apr 12, 2024 · 1 comment
Open

Invoker builder #181

gdupontf opened this issue Apr 12, 2024 · 1 comment

Comments

@gdupontf
Copy link

gdupontf commented Apr 12, 2024

I was wondering if it was possible to add functionality to create a builder around a method, with the "build" method actually invoking the target method?

I can in fact emulate this using Lombok, but this library is much more flexible.

On the surface, it looks like "just" an underlying record and a builder with a non-constructor target method and return type but in practice I know there might be gotchas.

@Randgalt
Copy link
Owner

Can you write an pseudo example of what that would be?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants