-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I'm trying to update a relationship, without providing attributes to the base resource.
According to the jsonapi spec, this should be possible.
This is relevant when you want to change many relationships at once. You always have the alternative to patch the specific relationship however, using its route.
The request
/customer-bank-accounts/1
{
"data": {
"id": "1",
"type": "customer-bank-accounts",
"relationships": {
"bank": {
"data": {
"type": "banks",
"id": "2"
}
}
}
}
}
The current response
{
"status": 422,
"errors": [
{
"source": {
"parameter": "/data"
},
"detail": "Must have required property 'attributes'"
}
]
}
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working