-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Storage][Blob] Flatten and simplify access conditions (#5672)
* [Storage][Blob] Flatten and simplify access conditions Use a flattened conditions type `BlobRequestConditions` instead of current nested one. It replaces `ContainerAccessConditions` and `BlobAccessConditions`. In addition, various conditions fields are renamed into simply `conditions`. This makes it more convenient to pass in conditional request options. the example ```js { blobAccessConditions: { modifiedAccessConditions: { ifMatch: uploadResponse.eTag } } ``` after this change becomes ```js { conditions: { ifMatch: uploadResponse.eTag } ```
- Loading branch information
1 parent
24d4440
commit 7e23aab
Showing
10 changed files
with
253 additions
and
293 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.