Closed
Description
Description
I tried to PATCH the department resource. Request body as below:
PATCH /departments/10
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
{
"data": {
"type": "departments",
"id": "10",
"attributes": {
"name": "Department 10",
"description": ""
}
}
}
The data has been changed successfully, but the response data received is: null.
{
"links": {
"self": "http://localhost:5000/departments/10"
},
"data": null
}
The response should have received changed data right?
...
Environment
- JsonApiDotNetCore Version: 4.0.0-beta1