Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Remove the Parent container scope restriction#34

Merged
WilliamBZA merged 1 commit into
developfrom
hotfix-6.0.1
Nov 15, 2016
Merged

Remove the Parent container scope restriction#34
WilliamBZA merged 1 commit into
developfrom
hotfix-6.0.1

Conversation

@WilliamBZA

Copy link
Copy Markdown
Member

Background

In V5 users were able to provide any ILifetimeScope to the IBus configuration and in V6 we appear to have restricted this lifetimescope to a ParentLifetimeScope only.

Who's affected

  • Any user trying to use a child Lifetime Scope with Autofac and NServiceBus V6

Symptoms

The application will compile, but will receive an InvalidOperationException at runtime due to not using a ParentLifetimeScope.

@WilliamBZA WilliamBZA added this to the 6.0.1 milestone Nov 15, 2016
@WilliamBZA WilliamBZA added the bug label Nov 15, 2016
@WilliamBZA
WilliamBZA merged commit fe78086 into develop Nov 15, 2016
@SimonCropp

Copy link
Copy Markdown
Contributor

Should the branch be deleted?

@WilliamBZA
WilliamBZA deleted the hotfix-6.0.1 branch November 15, 2016 11:56
@WilliamBZA

Copy link
Copy Markdown
Member Author

Yep, gone now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants