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

Container: Add a database reference to the container #1457

Merged
merged 3 commits into from
May 1, 2020

Conversation

j82w
Copy link
Contributor

@j82w j82w commented May 1, 2020

Pull Request Template

Description

This PR adds a Database reference to the Container, and a CosmosClient reference to the database. This will allow users to only pass the Container around, and still get access to the parent CosmosClient. This prevents customer from needing to pass the Client, Database, and Container to all APIs.

Container.Database
Database.Client

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

@j82w j82w merged commit 6f0d69c into master May 1, 2020
@j82w j82w deleted the users/jawilley/encryption/databaseReference branch May 1, 2020 21:14
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.

2 participants