orma
Advanced tools
Comparing version 1.0.234 to 1.0.235
@@ -56,3 +56,3 @@ "use strict"; | ||
return [ | ||
...left.map(obj => (Object.assign(Object.assign(Object.assign({}, obj), (0, exports.get_mutation_diff)(obj, null)), { $operation: 'delete', id: obj.id }))), | ||
...left.map(obj => (Object.assign(Object.assign({}, (0, exports.get_mutation_diff)(obj, null)), { $operation: 'delete', id: obj.id }))), | ||
...inner, | ||
@@ -59,0 +59,0 @@ ...right.map(obj => (Object.assign(Object.assign({}, (0, exports.get_mutation_diff)(null, obj)), { $operation: 'create' }))), |
{ | ||
"name": "orma", | ||
"version": "1.0.234", | ||
"version": "1.0.235", | ||
"description": "A declarative relational syncronous orm", | ||
@@ -5,0 +5,0 @@ "main": "build/index.js", |
@@ -79,3 +79,3 @@ import { deep_equal, has_prop } from '../../helpers/helpers' | ||
// only spread on foreign key fields, but this function doesnt have the orma schema in scope | ||
...obj, | ||
// ...obj, | ||
...get_mutation_diff(obj, null), | ||
@@ -82,0 +82,0 @@ $operation: 'delete', |
1616692