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
See discussion in #10170 (and many other places). Essentially Services are 99% singletons, and making a special case is actually more confusing for most users. It's a small change for you once the service is generated, so we decided to remove the option.
Please note that we never configured a provider in the past. We always created singleton services. I'm going to close this as working as intended.
Bug Report or Feature Request (mark with an
x
)Command (mark with an
x
)Versions
Repro steps
The log given by the failure
New service not included in parent module with:
Desired functionality
New service without
providedIn: 'root'
attribute and included in parent module.Mention any other details that might be useful
The text was updated successfully, but these errors were encountered: