You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Cosmos] "Enable Content Response on Write" option and integration tests for items and query (#1963)
* format-specific deserializers for Response<T>
* add enable_content_response_on_write option
* stash not content on write
* remove changes outside cosmos for now
* don't try to start test proxy on live tests
* [Cosmos] add integration tests for items
* [Cosmos] add integration tests for query
* spelling fix
* show 'use' statements in examples
* switch clap attributes to arg/command
/// The [Test Proxy](https://github.com/Azure/azure-sdk-tools/blob/main/tools/test-proxy/Azure.Sdk.Tools.TestProxy/README.md) service will be started as needed.
21
21
/// Every `#[recorded::test]` will call this automatically, but it can also be called manually by any other test e.g., those attributed with `#[tokio::test]`.
Copy file name to clipboardExpand all lines: sdk/cosmos/azure_data_cosmos/examples/cosmos/patch.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,15 @@ pub struct PatchCommand {
17
17
container:String,
18
18
19
19
/// The ID of the item.
20
-
#[clap(long, short)]
20
+
#[arg(long, short)]
21
21
item_id:String,
22
22
23
23
/// The partition key of the new item.
24
-
#[clap(long, short)]
24
+
#[arg(long, short)]
25
25
partition_key:String,
26
26
27
27
/// A JSON patch operation to apply to the item, can be specified multiple times. See https://learn.microsoft.com/en-us/azure/cosmos-db/partial-document-update
0 commit comments