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

DataAssertions requires an Attributes member #94

Open
GregoryAveryWeir opened this issue Sep 20, 2017 · 0 comments
Open

DataAssertions requires an Attributes member #94

GregoryAveryWeir opened this issue Sep 20, 2017 · 0 comments

Comments

@GregoryAveryWeir
Copy link

At

self::assertItHasAttributeMember($data, $errorBag);
, each request is validated to ensure it has an attributes member. However, the JSON API spec says resource objects MAY contain an attributes member. There are cases where you might want to leave it out of a request, as when you don't want to modify any attributes but do have meta properties to PATCH.

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