Skip to content

DataAssertions requires an Attributes member #94

@GregoryAveryWeir

Description

@GregoryAveryWeir

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions