@inixiative/json-rules 3.3.0 → 3.3.1

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/README.md CHANGED
@@ -601,8 +601,8 @@ its base lens. `toSql` takes it the same way. Passing both throws.
601
601
 
602
602
  ```ts
603
603
  const plan = toPrisma(rule, { lens: narrowing, now });
604
- // = toPrisma(narrowRule(rule, narrowing), { map: base, mapName: base.mapName, model: base.model, now }),
605
- // once validateRuleInLens(rule, narrowing) passes
604
+ // Gated by the lens, narrowed by it with each bare value `path` read as your `context` (narrowRule
605
+ // alone would resolve it as a column), then compiled against the base lens's map and model.
606
606
  const where = await executePrismaPlan(plan, prisma);
607
607
  ```
608
608