Closed FroggieFrog closed 1 year ago
Good afternoon.
Do I understand correctly that moving from Newtonsoft.Json
to System.Text.Json
will cause the library to no longer support netstandard 2.0?
Good afternoon. Do I understand correctly that moving from
Newtonsoft.Json
toSystem.Text.Json
will cause the library to no longer support netstandard 2.0?
This only changes some of the dependencies. The library will still support netstandard 2.0
.
I don't know why the AppVeyor build fails, but I think it could be because I used raw string literals
from C# 11.
Executing the tests locally works fine:
Ok, I just confirmed that raw string literals
were the reason for failed the tests.
Now it is all working as expected.
Thanks for the effort you put into this PR. I've been busy but I'll try to review it soon.
Looks good to me. I'm ready to merge it once you fix the unit test and update your branch. Thanks
This PR is kind of a rewrite to remove the dependencies on
Flurl
andNewtonsoft.Json
. InsteadHttpClient
is used directly and serialization is done bySystem.Text.Json
.The tests were also adjusted and extended.
Maybe There is a breaking change in the API (
ISynologyHttpClient
).If you don't like this kind of PRs: just close/delete it.
closes #8