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.
Describe the bug
The JSON:API spec requires a Relationship Object to contain at leasts one of
links,meta, anddata. The current implementation always requires thedatato be present.Note that entirely omitting the relationship object or setting the
dataproperty tonullare both supported currently, just not omitting thedataproperty when thelinksormetaproperties are present.