Open azeno opened 1 month ago
There seems to be a typo in the service registration https://github.com/dotnet/orleans/blob/722be42f1646d1c0c85de0a70d492a2ca7f1a5d6/src/Orleans.TestingHost/UnixSocketTransport/UnixSocketConnectionExtensions.cs#L16
It registers with the service type object instead of IConnectionFactory.
object
IConnectionFactory
Simply dropping the object part on those lines fixes the registration:
services.AddKeyedSingleton<IConnectionFactory>(SiloConnectionFactory.ServicesKey, CreateUnixSocketConnectionFactory());
There seems to be a typo in the service registration https://github.com/dotnet/orleans/blob/722be42f1646d1c0c85de0a70d492a2ca7f1a5d6/src/Orleans.TestingHost/UnixSocketTransport/UnixSocketConnectionExtensions.cs#L16
It registers with the service type
object
instead ofIConnectionFactory
.Simply dropping the
object
part on those lines fixes the registration: