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
Describe the bug
I am migrating from Modular 5.0 to Modular 6.0 and I'm encountering the following issue: I need to retrieve a concrete injection through one of its extended interfaces. For instance, Auth extends both ISignin and ISignout, and I need to retrieve it using Modular.get().
Expected behavior
When I use Modular.get(), it should return the Auth() implementation, but only with access to the function implemented in ISignin. I believe the test speaks for itself.
The text was updated successfully, but these errors were encountered:
This is expected behavior.
This could be considered a previous Bug. Now we have the possibility of registering several factories of the same instance.
Now the records are 1 to 1.
Describe the bug
I am migrating from Modular 5.0 to Modular 6.0 and I'm encountering the following issue: I need to retrieve a concrete injection through one of its extended interfaces. For instance, Auth extends both ISignin and ISignout, and I need to retrieve it using Modular.get().
To Reproduce
Expected behavior
When I use Modular.get(), it should return the Auth() implementation, but only with access to the function implemented in ISignin. I believe the test speaks for itself.
The text was updated successfully, but these errors were encountered: