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
Currently the GetService / TryGetService calls on the service manager accept any type when querying for a service, however, only interfaces should be passed to query for registered services.
So if a concrete type is passed, the service obviously cannot be resolved as the framework is interface dependent, but the consumer is unaware of the issue and this can lead to confusion.
The text was updated successfully, but these errors were encountered:
Currently the GetService / TryGetService calls on the service manager accept any type when querying for a service, however, only interfaces should be passed to query for registered services.
So if a concrete type is passed, the service obviously cannot be resolved as the framework is interface dependent, but the consumer is unaware of the issue and this can lead to confusion.
The text was updated successfully, but these errors were encountered: