refit
refit copied to clipboard
feature: Can UniqueName class be exposed?
I want to configure httpclientfactory directly in some auto injection scenarios be similar to:
services.AddHttpClient(UniqueName.ForType<T>())
👋 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".