You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The making of condition registrations is disallowed when AllowOverridingRegistrations is set to true, because because it is impossible for the container to detect whether the registration should replace a different registration or not.
The container however currently allows conditional registrations for closed-generic types to be made, while non-generic and open-generic registrations are blocked. This is inconsistent and incorrect behavior, which can lead to hard to track bugs.
The text was updated successfully, but these errors were encountered:
The making of condition registrations is disallowed when
AllowOverridingRegistrations
is set to true, because because it is impossible for the container to detect whether the registration should replace a different registration or not.The container however currently allows conditional registrations for closed-generic types to be made, while non-generic and open-generic registrations are blocked. This is inconsistent and incorrect behavior, which can lead to hard to track bugs.
The text was updated successfully, but these errors were encountered: