Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

switch to named HTTP clients from factory (instead of typed) #4227

Merged
merged 1 commit into from
Mar 30, 2020

Conversation

leastprivilege
Copy link
Member

Don't like the typed HTTP clients magic. Our new approach will

  • list all names for our clients in IdentityServerConstants.HttpClients
  • use those names internally when resolving our services from DI

If you want to customize a client, override the client in the factory using the name.

@amadard
Copy link

amadard commented Mar 29, 2020

I am curious, why don't you like the typed HttpClients?

@leastprivilege
Copy link
Member Author

I prefer the simplicity - and less DI magic.

@brockallen brockallen merged commit 32b7df1 into master Mar 30, 2020
@brockallen brockallen deleted the features/rework-http-client-factory-support branch March 30, 2020 13:49
@brockallen brockallen removed the ready label Mar 30, 2020
@lock
Copy link

lock bot commented May 5, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants