If some properties are empty strings, the insert/update fails. Should we filter out those empty strings or is it up to the user?
example
const key = {
email: '[email protected]'
};
const values = {
name: {
firstName: 'Sam',
name: ''
}
};
User.insert(key, values).exec().catch(err => {
//=> ExpressionAttributeValues contains invalid value: One or more parameter values were invalid: An AttributeValue may not contain an empty string for key :v_name
});