JsonApiX is an Android, annotation processor library that was made to transform regular Kotlin classes into their JSON API representations, with the ability to serialize or deserialize them to or from strings.
Apache License 2.0
38
stars
9
forks
source link
Meta, links, and errors Inside Included Block are ignored #71
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, and errors in the included Block:
The library is currently configured to ignore meta, links, and errors fields when they are found inside the included 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.
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.
Issue: Ignoring
meta
,links
, anderrors
Insideincluded
BlockDescription
After the PR has been merged, the issue of crashes caused by
meta
fields inside theincluded
block has been resolved. However, the underlying problem persists in that the library is currently ignoringmeta
,links
, anderrors
fields when they appear inside theincluded
block.Current Behavior
meta
,links
, anderrors
in theincluded
Block:meta
,links
, anderrors
fields when they are found inside theincluded
block.Expected Behavior
The library should consistently process
meta
,links
, anderrors
fields across all parts of the JSON:API structure, including within theincluded
block. Specifically:included
block.