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

Skip to content

Export HttpClient class and publish version 3.4.0 #73

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 23, 2025

Conversation

ddunkin
Copy link
Contributor

@ddunkin ddunkin commented May 23, 2025

Export the generated HttpClient class to allow for extension. Update the version to 3.4.0 in the project configuration.

@ddunkin ddunkin requested a review from ejball May 23, 2025 21:07
Copy link
Contributor

@ejball ejball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're going to export it, it should have a doc comment (/** ... */), probably the same as createHttpClient.

Also, the constructor should take an IHttpClientOptions.

It's unfortunate that there are now two ways to create the client, but deleting createHttpClient feels like an unnecessary breaking change.

ddunkin added 2 commits May 23, 2025 15:10
This allows the class to be extended.
@ddunkin ddunkin requested a review from ejball May 23, 2025 22:11
@ddunkin ddunkin merged commit 6398041 into FacilityApi:master May 23, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants