Skip to content

Commit 40b57de

Browse files
committed
Fixed compatibility issue with Newtonsoft.Json >= 10.0.1
1 parent a6c0a55 commit 40b57de

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

Sources/Linq2DynamoDb.DataContext.Caching.Redis/GeneralUtils.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ public static class GeneralUtils
2121
{
2222
DateParseHandling = DateParseHandling.None,
2323
TypeNameHandling = TypeNameHandling.All,
24-
// this is required for normal .Net
25-
// ContractResolver = new DefaultContractResolver { IgnoreSerializableInterface = true }
24+
ContractResolver = new DefaultContractResolver { IgnoreSerializableInterface = true }
2625
};
2726
#endif
2827

Sources/Linq2DynamoDb.DataContext.Caching.Redis/project.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,18 @@
33
"description": "Implements caching in Redis (including AWS ElastiCache implementation) for Linq2DynamoDb.DataContext.",
44
"copyright": "Copyright © 2017",
55
"authors": [ "linq2dynamodb" ],
6-
"version": "2.2.0-*",
6+
"version": "2.2.1-*",
77
"packOptions": {
88
"owners": [ "linq2dynamodb" ],
99
"projectUrl": "https://github.com/scale-tone/linq2dynamodb/",
1010
"iconUrl": "https://secure.gravatar.com/avatar/83392a88365261125361fa6ec95a3294",
1111
"repository": { "url": "https://github.com/scale-tone/linq2dynamodb/" },
1212
"summary": "Implements caching in Redis for Linq2DynamoDb.DataContext.",
13-
"releaseNotes": "Fixed nuget references.",
13+
"releaseNotes": "Fixed compatibility issue with Newtonsoft.Json >= 10.0.1.",
1414
"tags": [ "Linq2DynamoDb", "AWS", "DynamoDb", "caching", "Redis" ]
1515
},
1616
"dependencies": {
17-
"Linq2DynamoDb.DataContext": "2.2.0-*",
17+
"Linq2DynamoDb.DataContext": "2.3.0-*",
1818
"StackExchange.Redis": "1.2.0"
1919
},
2020
"frameworks": {
@@ -27,7 +27,7 @@
2727
"imports": "dnxcore50",
2828
"dependencies": {
2929
"NETStandard.Library": "1.6.1",
30-
"Newtonsoft.Json": "9.0.1"
30+
"Newtonsoft.Json": "10.0.1"
3131
}
3232
}
3333
}

0 commit comments

Comments
 (0)