Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not support clearing of relationships. #148

Open
geoidesic opened this issue Mar 8, 2021 · 0 comments
Open

Does not support clearing of relationships. #148

geoidesic opened this issue Mar 8, 2021 · 0 comments

Comments

@geoidesic
Copy link
Collaborator

As per https://jsonapi.org/format/#crud-updating-to-one-relationships

This should be a valid request:

PATCH /articles/1/relationships/author HTTP/1.1
Content-Type: application/vnd.api+json
Accept: application/vnd.api+json

{
  "data": { "type": "people", "id": "12" }
}

Gives error: Impossible to generate condition with empty list of values for field (<Table>.id)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant