Skip to content

Conversation

@NaluTripician
Copy link
Contributor

@NaluTripician NaluTripician commented Oct 10, 2022

Pull Request Template

Description

The database.ReadThroughputAsync overload that takes RequestOptions a CosmosException when the database doesn't have throughput provisioned. Updated XML comment to describe this error and why it occurs.

Type of change

Please delete options that are not relevant.

  • [] This change requires a documentation update

Closing issues

To automatically close an issue: closes #2959

Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's think about the potential options that would not generate breaking changes

Copy link
Member

@ealsur ealsur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update the PR title reflecting what the PR now has

@NaluTripician NaluTripician changed the title ReadThroughputAsync: Fixes behavior to Database.ReadThroughputAsync overload for databases without provisioned throughput ReadThroughputAsync: Adds XML comment to Database.ReadThroughputAsync definition Oct 21, 2022
@ealsur ealsur enabled auto-merge (squash) October 21, 2022 20:21
@ealsur ealsur merged commit 3cc0f74 into master Oct 24, 2022
@ealsur ealsur deleted the users/nalutripician/ReadThroughputAsyncNoProvisionedThroughput branch October 24, 2022 17:09
@abhijitpai
Copy link
Contributor

@NaluTripician @ealsur would have been good to remove the following remark from that API documentation to reduce confusion along with adding the exception details:

///
/// Null value indicates a database with no throughput provisioned.
///

@ealsur
Copy link
Member

ealsur commented Oct 25, 2022

@abhijitpai Missed it, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Database.ReadThroughputAsync overload throws for databases without provisioned throughput

5 participants