Feat/multitenant db improvements#1150
Closed
AndrewTriesToCode wants to merge 26 commits into
Closed
Conversation
Contributor
Author
|
@copilot resolve the merge conflicts in this pull request |
Contributor
Resolved the PR merge conflicts by merging |
9474e2e to
8ed44cb
Compare
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@df4cb1c...9c091bb) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.3 to 7.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@v6.0.3...9c091bb) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 7.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…r in update-dependencies workflow (#1162) * Initial plan * fix: handle dotnet-outdated exit code 3 and use random heredoc delimiter in update-dependencies workflow --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Bumps [actions/setup-dotnet](https://github.com/actions/setup-dotnet) from 5.3.0 to 5.4.0. - [Release notes](https://github.com/actions/setup-dotnet/releases) - [Commits](actions/setup-dotnet@9a946fd...26b0ec1) --- updated-dependencies: - dependency-name: actions/setup-dotnet dependency-version: 5.4.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
13e744d to
ea7823f
Compare
BREAKING CHANGE: IMultiTenantContext, IMultiTenantContextAccessor, IMultiTenantContextSetter, MultiTenantContext, and related accessor implementations are removed. Use ITenantContext and TenantContext instead. BREAKING CHANGE: TenantContext is now scoped and TenantInfo is write-once per context instance. Consumers that previously reassigned TenantInfo during a request or operation must switch to creating a new scoped context.
BREAKING CHANGE: Core extension and tenant resolution APIs now consume ITenantContext/TenantContext rather than the removed IMultiTenantContext types.
BREAKING CHANGE: HttpContext tenant access APIs were simplified and include TrySetTenantInfo behavior updates; callers should update extension usage accordingly.
BREAKING CHANGE: MultiTenantDbContext no longer exposes IMultiTenantContextAccessor constructor overloads. Use parameterless/DbContextOptions constructors and AddMultiTenantDbContext, AddPooledMultiTenantDbContext, or MultiTenantDbContext.Create.
…ructors BREAKING CHANGE: MultiTenantIdentityDbContext variants drop IMultiTenantContextAccessor constructor overloads and follow the new EFCore constructor model.
ea7823f to
3487a22
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds:
AddMultiTenantDbContextandAddPooledMultiTenantDbContextonIServiceCollectionwhich handle extra setup needed at injection timeMultiTenantDbContextandIdentityMultiTenantDbContextconstructorsITenantInfodirectlyIMultiTenantDbContext, use with caution