refit icon indicating copy to clipboard operation
refit copied to clipboard

feature: Can UniqueName class be exposed?

Open saber-wang opened this issue 3 years ago • 1 comments

I want to configure httpclientfactory directly in some auto injection scenarios be similar to:

services.AddHttpClient(UniqueName.ForType<T>())

saber-wang avatar Mar 22 '22 09:03 saber-wang

👋 Seconding this, my scenario is wrapper class to batch calls and I'd like for both the refit client and the wrapper class to share the same interface, but I can't find a way to define the resolution that says "I want to register a wrapper class that implements TInterface but inject a TInterface that is the refit client itself".

FynZ avatar Apr 29 '22 08:04 FynZ