-
-
Notifications
You must be signed in to change notification settings - Fork 388
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
FlurlRequest.Settings.JsonSerializer is ignored when using HttpTest #246
Comments
Settings at the using (var httpTest = new HttpTest()) {
httpTest.Settings.JsonSerializer = new MockSerializer();
...
} Having said that, this still might be a bug. Since you didn't explicitly set a value at the test level, I think the request-level setting should have taken precedence over the global default. I will look into it, but in the mean time consider the above a work-around. |
Yeah, thanks. Already used this workaround. Found it when I wanted to fix this issue. But haven't found any easy way how I can do it. As far as |
This is fixed, please test the prerelease: https://www.nuget.org/packages/Flurl.Http/2.1.0-pre |
Works like a charm. Thank you. |
released |
Updated. Removed workaround. Works fine. Thank you |
Seems to be Settings.JsonSerializer is ignored when using HttpTest
None of
Deserialize
methods was used.The text was updated successfully, but these errors were encountered: