Skip to content

Commit 57ad726

Browse files
author
Bart Koelman
committed
Removed TODO after fix was merged.
1 parent 0baf63d commit 57ad726

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/JsonApiDotNetCore/RequestServices/DefaultResourceChangeTracker.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ private IDictionary<string, string> CreateAttributeDictionary(TResource resource
8080
foreach (var attribute in attributes)
8181
{
8282
object value = attribute.GetValue(resource);
83-
// TODO: Remove explicit cast to JsonApiOptions after https://github.com/json-api-dotnet/JsonApiDotNetCore/issues/687 has been fixed.
84-
var json = JsonConvert.SerializeObject(value, ((JsonApiOptions) _options).SerializerSettings);
83+
var json = JsonConvert.SerializeObject(value, _options.SerializerSettings);
8584
result.Add(attribute.PublicAttributeName, json);
8685
}
8786

0 commit comments

Comments
 (0)