@zenstackhq/plugin-policy 3.4.4 → 3.4.5

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 CHANGED
@@ -1542,6 +1542,13 @@ var PolicyHandler = class extends OperationNodeTransformer {
1542
1542
  for (let i = 0; i < data.length; i++) {
1543
1543
  const item = data[i];
1544
1544
  if (typeof item === "object" && item && "kind" in item) {
1545
+ if (item.kind === "DefaultInsertValueNode") {
1546
+ result.push({
1547
+ node: ValueNode3.create(null),
1548
+ raw: null
1549
+ });
1550
+ continue;
1551
+ }
1545
1552
  const fieldDef = QueryUtils2.requireField(this.client.$schema, model, fields[i]);
1546
1553
  invariant3(item.kind === "ValueNode", "expecting a ValueNode");
1547
1554
  result.push({