@ronin/compiler 0.16.3-leo-ron-1099-experimental-369 → 0.16.3-leo-ron-1099-experimental-370

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
@@ -2056,7 +2056,7 @@ var Transaction = class {
2056
2056
  if (field.type === "json" || field.type === "blob") {
2057
2057
  newValue = JSON.parse(newValue);
2058
2058
  } else if (field.type === "boolean") {
2059
- newValue = Boolean(newValue);
2059
+ newValue = newValue === null ? newValue : Boolean(newValue);
2060
2060
  }
2061
2061
  if (isMeta && PLURAL_MODEL_ENTITIES_VALUES.includes(newSlug)) {
2062
2062
  newValue = newValue ? Object.entries(newValue).map(([slug, attributes]) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ronin/compiler",
3
- "version": "0.16.3-leo-ron-1099-experimental-369",
3
+ "version": "0.16.3-leo-ron-1099-experimental-370",
4
4
  "type": "module",
5
5
  "description": "Compiles RONIN queries to SQL statements.",
6
6
  "publishConfig": {