@ronin/compiler 0.17.5-corny-ron-1099-experimental-388 → 0.17.5-leo-ron-1099-experimental-387
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1856,7 +1856,7 @@ var transformMetaQuery = (models, dependencyStatements, statementParams, query,
|
|
1856
1856
|
}
|
1857
1857
|
};
|
1858
1858
|
}
|
1859
|
-
const modelBeforeUpdate = structuredClone(
|
1859
|
+
const modelBeforeUpdate = structuredClone(model);
|
1860
1860
|
const existingModel = model;
|
1861
1861
|
const pluralType = PLURAL_MODEL_ENTITIES[entity];
|
1862
1862
|
const existingEntity = existingModel[pluralType]?.[slug];
|
package/package.json
CHANGED