Skip to content

Should use the container from the method call, not the root container - #558

Merged
jonorossi merged 1 commit into
castleproject:masterfrom
generik0:bugfix/AddSubSystemToContainerWriongContainer
Oct 8, 2020
Merged

jonorossi merged 1 commit into
castleproject:masterfrom
generik0:bugfix/AddSubSystemToContainerWriongContainer

Conversation

@generik0

@generik0 generik0 commented Oct 7, 2020

Copy link
Copy Markdown
Contributor

Should use the container from the method call, not the root container

#557

@jonorossi jonorossi added this to the v5.1.0 milestone Oct 8, 2020

@jonorossi jonorossi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally WindsorServiceProviderFactoryBase feels very fragile, it has virtual functions that expose each implementation detail so you can override whichever bits you'd like, looks like you'd have to read the code of this base class to know what to override.

@jonorossi
jonorossi merged commit f08f03d into castleproject:master Oct 8, 2020
@jonorossi jonorossi linked an issue Oct 8, 2020 that may be closed by this pull request
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.

Code error in AddSubSystemToContainer, wrong container

3 participants