Closed spewu closed 1 year ago
Thanks for the report. Will investigate.
@spewu Could you give a little more background on your usage, is it any particular Target that has this issue? An example of the code or a test that exposes the issue that is causing the exception would be highly beneficial to seeing where things have gone wrong, and aid with tracing the issue and ultimately adding a test that ensures it doesn't break again. Many thanks for raising the issue.
As far as I can tell there is no reference to '''AuthenticatedParameterizedHttpClientHandler''' remaining in the code, so its strange that this issue is occurring, a silly one but have you tried restarting Visual Studio after the update?
Do you have any other nuget packages that depend on refit? Likely those will need to be updated.
@ChrisPulman @glennawatson Thanks a lot for reacting so quickly!
I feel bad for not being able to give you a better bug report, as I just downgraded to v. 6.3.2 as soon as I saw the errors in our logs, and I no longer see any errors.
You might be right, that we have some other nuget packages that depend on refit as well, and that sounds like a plausible cause for this.... or maybe something went wrong in our release process, as dependabot upgraded Refit
and Refit.HttpClientFactory
in two different PRs, but since Refit.HttpClientFactory
depends on Refit
, I assume that would have failed if the combination was invalid 🤔
Now I am getting even more confused, as it looks like the latest version of Refit
is back to v. 6.3.2: https://www.nuget.org/packages/Refit#versions-body-tab
But, I think we can probably close this issue, and then I will try upgrading again manually. If I keep running into problems, I will create a new bug report, with a better description 😅
The automatic type-safe REST library for Xamarin and .NET
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Describe the bug 🐞
Upgraded to v. 6.4.1 and now I am getting exceptions in my logs.
Maybe the stacktrace is useful:
Seems like this is related to this commit: https://github.com/reactiveui/refit/commit/77f084f0e45f611c055df9aa58ff91e74ea21f16
@0xced and @glennawatson
Step to reproduce
Actually not sure how we use this library, as I never worked with this, but upgrading to v. 6.4.1 causes this bug for us
Reproduction repository
https://github.com/reactiveui/refit
Expected behavior
It should not look for
AuthenticatedParameterizedHttpClientHandler
, since that has been merged intoAuthenticatedHttpClientHandler
as far as I understand.Screenshots 🖼️
No response
IDE
No response
Operating system
No response
Version
No response
Device
No response
Refit Version
No response
Additional information ℹ️
No response