Keep 'relationships' and 'meta' for included resources
lode opened this issue · comments
Lode Claassen commented
As noted by @Pierozi in #17 (comment), we now unset relationships
and meta
when adding an included resource: https://github.com/lode/jsonapi/blob/master/src/response.php#L255. This should not be done. Resource objects inside the included array should just be the full representation.