ZENOTME commented on PR #135: URL: https://github.com/apache/iceberg-rust/pull/135#issuecomment-1905325893
I found a new way to make this API can be used like the following: ``` let writer = FileWriterHelper::new(MockFileWriterBuilder) // build the file writer first .layer(MockFileWriterBuilder) .layer(MockFileWriterBuilder) .finish(MockIcebergWirterBuilder) // after finish, build the iceberg writer .layer(MockIcebergWirterBuilder) .layer(MockIcebergWirterBuilder) .build() .await .unwrap(); ``` This may make this interface easier to make sense.🤔 Also feel free to leave any suggestions or confusion, I'm glad to improve it to be easier to understand and use. -- 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