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

updates plug to allow data with only relationships #93

Conversation

jlvallelonga
Copy link
Contributor

Fixes an issue with the FormatRequired plug where an error was returned for a valid resource object.

Specifically, a "data" object with only a "relationships" member was not allowed before this change.

see: http://jsonapi.org/format/#document-resource-objects

I found this while trying to patch only relationships (no attribute changes) for a resource like this: http://jsonapi.org/format/#crud-updating-resource-relationships

@doomspork
Copy link
Member

Thank you @jlvallelonga 👍

@doomspork doomspork merged commit 9e5a024 into beam-community:master Jan 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants