Meta, links, and errors Inside Included Block are ignored
Opened this issue · 2 comments
thisAAY commented
Issue: Ignoring meta
, links
, and errors
Inside included
Block
Description
After the PR has been merged, the issue of crashes caused by meta
fields inside the included
block has been resolved. However, the underlying problem persists in that the library is currently ignoring meta
, links
, and errors
fields when they appear inside the included
block.
Current Behavior
meta
,links
, anderrors
in theincluded
Block:- The library is currently configured to ignore
meta
,links
, anderrors
fields when they are found inside theincluded
block. - While this prevents crashes from occurring, it means that any data within these fields is not being processed or utilized, which could lead to incomplete data handling in applications.
- The library is currently configured to ignore
Expected Behavior
The library should consistently process meta
, links
, and errors
fields across all parts of the JSON:API structure, including within the included
block. Specifically:
- These fields should not be ignored within the
included
block. - If these fields are present, they should be properly deserialized and handled just like they are in the root or data blocks.
thisAAY commented
I will resume working on it, after vacation