You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think the library supports that and the support is somehow dead.
I faced this issue a while ago and had to switch to another library to overcome the issue.
I don't think the library supports that and the support is somehow dead.
I faced this issue a while ago and had to switch to another library to overcome the issue.
deserialize does not deserializer links inside relationships objects
Example payload to deserialize = {
links: {
prev: 'https://prevLink',
next: 'https://nextLink'
},
data: [
{
type: 'myType',
id: '1',
attributes: {
name: 'Type1',
accountGuid: 'acctguid',
},
links: {
self: 'https://selfLink'
},
relationships: {
myObj: {
links: {
related: {
href: 'http://somelink',
meta: {
count: 4
}
}
}
}
}
}
]
}
Output = {
accountGuid: "acctguid",
id: "1",
links:,
next: "https://nextLink",
prev: "https://prevLink",
name: "Type1",
}
The text was updated successfully, but these errors were encountered: