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
After upgrading to 0.4.3 (or 0.4.4) a normalized attribute containing a Date value returns an empty object. It works on 0.4.2.
The following is a simplified version of what I have running:
const obj = {
data: {
id: '1',
type: 'projects',
attributes: {
'started-at': new Date(),
},
},
};
console.log(normalize(obj)); // startedAt is now an empty object {} instead of a Date object
Great library by the way!
The text was updated successfully, but these errors were encountered:
After upgrading to 0.4.3 (or 0.4.4) a normalized attribute containing a Date value returns an empty object. It works on 0.4.2.
The following is a simplified version of what I have running:
Great library by the way!
The text was updated successfully, but these errors were encountered: