We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11a49a9 commit 46e4f4cCopy full SHA for 46e4f4c
src/JsonApiDotNetCore/Serialization/JsonApiReader.cs
@@ -178,7 +178,7 @@ private bool IsPatchOrPostRequest(HttpRequest request)
178
179
private IEnumerable<Type> GetBodyResourceTypes(object model)
180
{
181
- if (model is ICollection<IIdentifiable> resourceCollection)
+ if (model is IEnumerable<IIdentifiable> resourceCollection)
182
183
return resourceCollection.Select(r => r.GetType()).Distinct();
184
}
0 commit comments