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

Making the "clone()" and "but()" methods generation optional #159

Open
edouardmercier opened this issue Jan 7, 2019 · 0 comments
Open

Comments

@edouardmercier
Copy link

What to do you of adding a new attribute to the GeneratePojoBuilder which indicates whether the clone() and but() should be generated? I think that an enumerated type for that extra attribute, which would enable further customisation by the way, is a good candidate, and the induced complexity of the code generation change should be straightforward.

In my case, I'm using a transpiler to generate JavaScript subsequently, and having those methods bloats the generated code, and exposes non-working code, since the clone() method is not ported.

I am referring to v4.2.2.

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

No branches or pull requests

1 participant