asereda-gs commented on pull request #2531:
URL: https://github.com/apache/calcite/pull/2531#issuecomment-925472150


   > The key difference is that you must use a builder if a property is marked 
as non-nullable and has no default (since you can't use a 'withFoo' operation 
until you have a fully valid pojo). 
   
   You can use `@Value.Parameter` (which generates static method `of(param1, 
param2)`) to avoid using builder when a class can be constructed from few 
parameters.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to