Removing a relationship using PATCH as the spec defines here returns the following error:
"errors": [
{
"status": "403",
"code": "EFORBIDDEN",
"title": "Request validation failed",
"detail": "Missing \"data\" - have you sent the right http headers?"
}
]
This happens because for this route, it checks if the data property of the body is either an object or an array, and errors out otherwise.
However the spec specifies that you can unset a relationship by setting data to null like so:
Removing a relationship using PATCH as the spec defines here returns the following error:
This happens because for this route, it checks if the
data
property of the body is either an object or an array, and errors out otherwise.However the spec specifies that you can unset a relationship by setting
data
tonull
like so:Is this something that warrants a PR or will no route accept
null
as the value ofdata
as a rule?