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

Follow up on Issue 398 : I'm attempting to use the library in a Multi Tenant scenario #428

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

joelsteventurner
Copy link
Contributor

where each tenant connects to their own specific Cosmos DB

Along with the previous change I did to make ICosmosClientProvider public (#398)

  • ICosmosContainerProvider - made this public, the default implementation caches containers, I needed a custom implementation to cache these per Tenant

  • RepositoryOptions

  • I made DatabaseId, ContainerId and ConnectionString virtual, again in my implementation I need these to be tenant specific, making these virtual allows me replace this with a multi-tenant version of RepositoryOptions

…ch tenant connects to their own specific Cosmos DB

Along with the previous change I did to make ICosmosClientProvider public (IEvangelist#398)

* made ICosmosContainerProvider public
The Default implementation caches containers, I needed a custom implementation to cache these per Tenant
* Repository option
- I made DatanaseId, ContainerId and connection string virtual
Again in my implementation I need these to be tenant specific, making these virtual allows me over replace this with a MultiTenant version on RepositoryOptions
@IEvangelist IEvangelist merged commit a27d6ca into IEvangelist:main Apr 10, 2024
3 checks passed
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.

None yet

2 participants