-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Extend with overrides from the System.Net.Http.Json assembly #1220
Comments
Hi there and welcome to this repository! A maintainer will be with you shortly, but first and foremost I would like to thank you for taking the time to report this issue. Quality is of the highest priority for us, and we would never release anything with known defects. We aim to do our best but unfortunately you are here because you encountered something we didn't expect. Lets see if we can figure out what went wrong and provide a remedy for it. |
It's clearly valuable, but also taxing from a maintainer perspective as it increases the API surface in a major way. A workaround would be for you to implement the extensions you required and maintain them in your source code, would that be feasible? |
Or we use a simple code in a base class - I'm sure this can be even more prettified :)
|
It would be awesome to extend with overrides from the System.Net.Http.Json assembly:
https://learn.microsoft.com/en-us/dotnet/api/system.net.http.json.httpclientjsonextensions?view=net-8.0
E.g.
[GetFromJsonAsync<TValue>(this HttpClient, String (URL), String (REGIONNAME), String (SERVICENAME), Credentials, CancellationToken)]
The text was updated successfully, but these errors were encountered: