Skip to content

Relationship Object is too strict for requiring a data property according to the spec. #56

@mattpolzin

Description

@mattpolzin

Describe the bug
The JSON:API spec requires a Relationship Object to contain at leasts one of links, meta, and data. The current implementation always requires the data to be present.

Note that entirely omitting the relationship object or setting the data property to null are both supported currently, just not omitting the data property when the links or meta properties are present.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions