Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CosmosClient now throws ObjectDisposedException #1274

Merged
merged 12 commits into from
Mar 18, 2020
Merged

Conversation

j82w
Copy link
Contributor

@j82w j82w commented Mar 12, 2020

Pull Request Template

Description

This makes the ClientContext disposable and throws the an exception when trying to doing any calls with a disposed client.

This refactors the client and several properties to use the ClientContext to ensure all calls will throw the correct disposed exception.

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Closing issues

#420

@j82w j82w added the bug Something isn't working label Mar 12, 2020
@j82w j82w self-assigned this Mar 12, 2020
changelog.md Outdated Show resolved Hide resolved
@j82w j82w merged commit 5f261d6 into master Mar 18, 2020
@j82w j82w deleted the users/jawilley/bug/dispose branch March 18, 2020 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants