alamb commented on code in PR #743:
URL:
https://github.com/apache/arrow-rs-object-store/pull/743#discussion_r3399063458
##########
src/list.rs:
##########
@@ -61,6 +61,12 @@ pub struct PaginatedListResult {
pub result: ListResult,
/// If result set truncated, the pagination token to fetch next results
pub page_token: Option<String>,
+ /// Implementation-specific extensions. Intended for use by implementations
+ /// that need to return context-specific information (like cache status)
from trait methods.
+ ///
+ /// HTTP-backed stores in this crate populate this with the extensions of
the HTTP
+ /// response, allowing custom HTTP middleware to propagate information to
callers.
+ pub extensions: http::Extensions,
Review Comment:
Given that `ListResult` already has `Extensions` -- does it add additional
value to add extensions to the PaginatedListResult as well?
--
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]