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
I will get two separate instances of class A used for the respective injection points (at least in JS).
I would have expected to have one single instance to be provided whenever one of the interfaces is requested.
I can easily switch to a toValue() type of mapping to solve my case, I was just wondering if this is the expected behaviour and my assumption is totally wrong.
The text was updated successfully, but these errors were encountered:
Considering the class
With the following mapping:
I will get two separate instances of class A used for the respective injection points (at least in JS).
I would have expected to have one single instance to be provided whenever one of the interfaces is requested.
I can easily switch to a toValue() type of mapping to solve my case, I was just wondering if this is the expected behaviour and my assumption is totally wrong.
The text was updated successfully, but these errors were encountered: