-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello, since version 7.0.2, the POST and PATCH methods of resources with relationships don't allow the data
object.
It requires the content of data instead.
https://jsonapi.org/format/#crud-creating
https://jsonapi.org/format/#crud-updating-resource-relationships
Notice in both cases the structure of the json is:
{
"data": {
... ,
"relationships": {
"person": {
"data": {
"type": "people",
"id": "9"
}
}
}
}
}
And in version 7.0.2, it expects this structure:
{
"data": {
... ,
"relationships": {
"person": {
"type": "people",
"id": "9"
}
}
}
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working