-
-
Notifications
You must be signed in to change notification settings - Fork 162
Closed
Labels
bugSomething isn't workingSomething isn't working
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.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working