-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix common object builder uow scope (#6458)
* Add a number of tests for the common object builder behavior * Fix instance per uow resolved via builder * Remove local version of async local used in acceptance testing since we use InternalsVisibleTo * Remove the static * Move things into a property * Add a test that uses Task.Run to fetch within the same scope * Resolve the current builder per instance to make it possible to resolve the correct IBuilder instance (#6460) * Resolve the current builder per instance to make it possible to resolve the correct IBuilder instance * InstancePerCall * Rename to parent and move fields
- Loading branch information
1 parent
2e16591
commit 7f819fc
Showing
7 changed files
with
509 additions
and
77 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
468 changes: 468 additions & 0 deletions
468
src/NServiceBus.Core.Tests/CommonObjectBuilder/When_using_nested_containers.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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