-
-
Notifications
You must be signed in to change notification settings - Fork 159
Closed
Labels
Description
It seems logic is at fault at:
JsonApiDotNetCore/src/JsonApiDotNetCore/Middleware/DefaultTypeMatchFilter.cs
Lines 33 to 34 in 36bc489
var deserializedType = context.ActionArguments.FirstOrDefault().Value?.GetType(); | |
var targetType = context.ActionDescriptor.Parameters.FirstOrDefault()?.ParameterType; |
For PATCH requests that will compare the path id parameter not the entity.