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
This way I wouldn't have to pass the tenantKey explicitly to all methods.
(I realize I could just pass an HttpClient with a different BaseAddress, but I split my API into separate interfaces, and I'd rather use the same HttpClient for all of them)
If it's not supported, I'd be willing to submit a PR to add it.
The text was updated successfully, but these errors were encountered:
I have an interface with methods like this:
The
tenantKey
is passed in ALL methods, and the/api/tenant/{tenantId}
prefix is common to all methods.Is there a way to somehow share the prefix and placeholder value? e.g. doing something like this:
This way I wouldn't have to pass the
tenantKey
explicitly to all methods.(I realize I could just pass an
HttpClient
with a differentBaseAddress
, but I split my API into separate interfaces, and I'd rather use the sameHttpClient
for all of them)If it's not supported, I'd be willing to submit a PR to add it.
The text was updated successfully, but these errors were encountered: