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
First of all I want to say thank you for creating such neat package 🙇
Unfortunately I found a little bug using it. As it is stated in the title, If data.attributes contains type property (data.attributes.type) it is being overridden by type in data object (data.type)
Not sure how this should be resolved, because there might be situation where data.type is also needed. Maybe some special char should be introduced like $ eg $id would be equal to data.id and $type to data.type
The text was updated successfully, but these errors were encountered:
First of all I want to say thank you for creating such neat package 🙇
Unfortunately I found a little bug using it. As it is stated in the title, If
data.attributes
containstype
property (data.attributes.type
) it is being overridden bytype
indata
object (data.type
)As is:
To be:
Should return
{ type:"other type" }
Not sure how this should be resolved, because there might be situation where
data.type
is also needed. Maybe some special char should be introduced like$
eg$id
would be equal todata.id
and$type
todata.type
The text was updated successfully, but these errors were encountered: