Skip to content

Commit 52a452d

Browse files
authored
Update JsonApiReader.cs
1 parent 415306e commit 52a452d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/JsonApiDotNetCore/Formatters/JsonApiReader.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ public Task<InputFormatterResult> ReadAsync(InputFormatterContext context)
8383
}
8484
}
8585

86+
/// <summary> Checks if the deserialized payload has an ID included </summary
8687
private bool CheckForId(object model)
8788
{
8889
if (model == null) return false;
@@ -97,6 +98,7 @@ private bool CheckForId(object model)
9798
return false;
9899
}
99100

101+
/// <summary> Checks if the elements in the deserialized payload have an ID included </summary
100102
private bool CheckForId(IList modelList)
101103
{
102104
foreach (var model in modelList)

0 commit comments

Comments
 (0)