Replies: 1 comment 1 reply
-
@TheHunter Thanks for the tests, I will look after I'm done with the current thing. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ContainerTest.txt
Hi everyone,
I'm finding a problem using a conditional registrations, when I use at the end one registration without condition, the previous registrations (with condition) don't work in one specific case, when registrations with condition have a lower scope than the default registration (without condition), and it seems that the default one have the precedence, ignoring previous conditional registrations.
Take a look to this example:
If you try it only changing the scope of scopeA in Singleton it works.
Probably something is wrong in the example, mainly in the registration of default registration (without condition).
The complete unit test is attached in this post.
Any help will be appreciated :).
Thanks
Beta Was this translation helpful? Give feedback.
All reactions