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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org