-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
BREAKING CHANGENot backwards compatibleNot backwards compatiblein progressThings being worked onThings being worked on
Description
Crushing an object with empty arrays, empty objects, or undefined values results in losing the entry.
crush({
arr: [],
obj: {},
und: undefined
})Current Result:
{ }Expected Result:
{
arr: [],
obj: {},
und: undefined
}My thinking is I should be able to crush and re-construct and end up with the same object structure.
The construct function does everything except undefined
construct({
arr: [],
obj: {},
und: undefined
})Current Result:
{
arr: [],
obj: {}
}Expected Result:
{
arr: [],
obj: {},
und: undefined
}Thanks!
Metadata
Metadata
Assignees
Labels
BREAKING CHANGENot backwards compatibleNot backwards compatiblein progressThings being worked onThings being worked on
Type
Projects
Status
In Progress