The current implementation denormalizes only first level attributes. Due to this, the denormalize function returns { articles: [ { id: 1, title: 'Article 1', likes: { usersWhoLikes: [ 1, 2 ] } } ] } (likes attribute is denormalized as a non entity object). Applying this fix, denormalize function returns the original data.
Added support to denormalize deeply nested objects, for example:
data:
The current implementation denormalizes only first level attributes. Due to this, the denormalize function returns
{ articles: [ { id: 1, title: 'Article 1', likes: { usersWhoLikes: [ 1, 2 ] } } ] }
(likes
attribute is denormalized as a non entity object). Applying this fix, denormalize function returns the original data.