As most people now use the IServicesCollection.AddGrpcClient Extension function for DI, it would be helpful to have docs on how to make this work with that. I couldn't figure it out.
AddGrpcClient isn't designed to work with this library. You can still use something generic like servicesCollection.AddSingleton(clientInstance) if you want.
As most people now use the
IServicesCollection.AddGrpcClient
Extension function for DI, it would be helpful to have docs on how to make this work with that. I couldn't figure it out.