A .NET library that handles the HTTP write operations (POST and PATCH) that can affect only once for the given request data and idempotency-key by using an ASP.NET Core attribute (filter).
MIT License
270
stars
39
forks
source link
Integers \ decimals are converted to string internally #35
So there is an issue where if an API returns an integer or a decimal internally it gets converted into a Dictionary<string, string> there by converting the result from (see below) integer \ decimal to string.
First response
{ "testInteger": 1613197826, "testDecimal": 16131978.26 }
Second response
{ "TestInteger": "1613197826", "TestDecimal": "16131978.26" }
Is there a configuration i'm missing somewhere or is it just the implementation internally?
So there is an issue where if an API returns an integer or a decimal internally it gets converted into a Dictionary<string, string> there by converting the result from (see below) integer \ decimal to string.
First response
{ "testInteger": 1613197826, "testDecimal": 16131978.26 }
Second response
{ "TestInteger": "1613197826", "TestDecimal": "16131978.26" }
Is there a configuration i'm missing somewhere or is it just the implementation internally?
Thanks!