nastra commented on pull request #3580:
URL: https://github.com/apache/iceberg/pull/3580#issuecomment-975212444


   > Looking at the docs, it looks like we can write resolvers for classes to 
control how things are read via derived attribute, which is like a one time 
setter method (for having logic to compute a field). There seems to be a lot of 
things a builder would need. Using a library like this would be nice. But would 
this solve the overriding concerns over there?
   > 
   
   I'm not exactly sure I understand what you mean by writing resolvers. Are 
you referring to https://immutables.github.io/immutable.html#derived-attributes?
   
   
   > If we used it, I'd maybe prefer to see it start being used in newer places 
or with less critical things. Again, in Scala case classes and then associated 
objects with apply and unapply methods are more my background.
   
   I'm perfectly fine with using Immutables at a less critical place. I rather 
wanted to show an alternative approach that doesn't require manually writing 
Builders.
   
   
   


-- 
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]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to