liurenjie1024 commented on PR #62:
URL: https://github.com/apache/iceberg-rust/pull/62#issuecomment-1732834551
+1 with @zeodtr We should have a validation check in the final phase of
build, so an auto generated builder maybe inappropricate. How about this:
```
struct TableMetadataBuilder(TableMetadata);
impl TableMetadataBuilder {
...
pub fn build(self) {
// validate
self.0
}
}
```
--
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]