querydsl-codegen: add an option to generate chained setters

Created on 21 Sep 2016  路  2Comments  路  Source: querydsl/querydsl

It would be great to be able to generate chained setters in the generated beans. This way we could write something like:

MyGeneratedBean bean = new MyGeneratedBean().setProperty1("value").setProperty2("value");

If you are ok with the idea, I could do the change in the BeanSerializer class to add the option to generate chained setters.

Most helpful comment

Hello, can we have some update on this issue?

All 2 comments

Do you have any feedback for this feature?

Please do note that if you are ok, I can make the pull request.

Hello, can we have some update on this issue?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aoudiamoncef picture aoudiamoncef  路  3Comments

devcken picture devcken  路  6Comments

mjungsbluth picture mjungsbluth  路  6Comments

svaidya401 picture svaidya401  路  4Comments

d-schmidt picture d-schmidt  路  5Comments