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
"This is by design, singleton/transient doesn't really make much sense for a factory. Since with a factory, we want the factory method to run each time we resolve a token."
=> i dont realy understand your words here, why it doesn't really make much sense ?
Sometimes we want to make singleton services where his implementation need a other service from the container
with CartService the fonctional service and CartApiServiceInterface the technical adaptor that can be change if we want to have a api by local storage or web api storage bh exemple
Describe the bug / design arrangement
I am reopening this topic : #14
Expected behavior
that factory service can be singleton as well if needed
The text was updated successfully, but these errors were encountered: