Trying to do the following:
let obj = {
user: 'john',
foo: 'bar',
someKey,
...KeyParse.explode(model.key) // returns an object
};
Is there any way to do the above? ie. spread the object returned from KeyParse.explode() into obj? So all the KeyParse.explode() keys would be populated into obj...