Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@mvmcjr
Copy link
Contributor

@mvmcjr mvmcjr commented Sep 20, 2022

What kind of change does this PR introduce?
Makes it possible to set a custom name to the HTTP Client factory

What is the current behavior?
You can't use the same interface to point at multiple environments for example.

What is the new behavior?
You can use custom names to the same interface but with different environment/handlers.

What might this PR break?
In the original implementation UniqueName.ForType<T>() was used as the client's name, so if a custom name is used it might break somewhere, tho I've looked and not found any other references for this other than tests.

Please check if the PR fulfills these requirements

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Other information:

@mvmcjr mvmcjr changed the title Adds named httpclient support [WIP] Adds named httpclient support Sep 20, 2022
Used to resolve Refit http clients
@dnfadmin
Copy link

dnfadmin commented Sep 20, 2022

CLA assistant check
All CLA requirements met.

@mvmcjr mvmcjr changed the title [WIP] Adds named httpclient support Adds named httpclient support Sep 20, 2022
@glennawatson glennawatson merged commit b78bbc7 into reactiveui:main Apr 12, 2023
anaisbetts added a commit that referenced this pull request Apr 17, 2023
anaisbetts added a commit that referenced this pull request Apr 17, 2023
anaisbetts added a commit that referenced this pull request Apr 21, 2023
@github-actions
Copy link

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 27, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants