@ronin/compiler 0.17.19 → 0.17.20

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.
Files changed (2) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -2042,7 +2042,7 @@ var transformMetaQuery = (models, dependencyStatements, statementParams, query,
2042
2042
  const value = prepareStatementValue(statementParams, entityValue);
2043
2043
  json = `json_insert(${field}, '$.${slug2}', json(${value}))`;
2044
2044
  if (!existingModel[pluralType]) existingModel[pluralType] = {};
2045
- existingModel[pluralType][slug2] = jsonValue;
2045
+ existingModel[pluralType][slug2] = entityValue;
2046
2046
  break;
2047
2047
  }
2048
2048
  case "alter": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.17.19",
3
+ "version": "0.17.20",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {