Azure / azure-sdk-for-rust

This repository is for active development of the *unofficial* Azure SDK for Rust. This repository is *not* supported by the Azure SDK team.
MIT License
692 stars 237 forks source link

CosmosDB: No apparent way to pass Continuation Token to ListDocuments requests #1527

Closed barbu110 closed 8 months ago

barbu110 commented 8 months ago

Overview

Looking at the ListDocuments operation, there seems to be no way of passing a continuation token to a request:

operation! {
    #[stream]
    ListDocuments,
    client: CollectionClient,
    ?max_item_count: MaxItemCount,
    ?a_im: ChangeFeed,
    ?if_match_condition: IfMatchCondition,
    ?consistency_level: ConsistencyLevel,
    ?partition_range_id: PartitionRangeId
}

Is there anything I'm missing? If that's indeed the case, is it ok to open a PR to add support for a ?continuation_token attribute to the builder?

Background

I'm using azure_data_cosmos = "0.18.0".