From 12d012522df1010db67276de01ae08e666e11aeb Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 31 Oct 2024 09:48:14 +0000 Subject: [PATCH] Version Packages --- .changeset/nasty-ravens-pay.md | 11 ----------- packages/ucast-prisma/CHANGELOG.md | 12 ++++++++++++ packages/ucast-prisma/package.json | 2 +- 3 files changed, 13 insertions(+), 12 deletions(-) delete mode 100644 .changeset/nasty-ravens-pay.md diff --git a/.changeset/nasty-ravens-pay.md b/.changeset/nasty-ravens-pay.md deleted file mode 100644 index a6ca72f4..00000000 --- a/.changeset/nasty-ravens-pay.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@styra/ucast-prisma": patch ---- - -ucastToPrisma takes primary table to project conditions - -Previously, the conversion logic for OR conditions was faulty. -It's not possible to properly translate OR conditions to Prisma -query filters without knowing the primary table of the query. - -That table is now passed as an argument to ucastToPrisma. diff --git a/packages/ucast-prisma/CHANGELOG.md b/packages/ucast-prisma/CHANGELOG.md index d8ed72fd..f276b281 100644 --- a/packages/ucast-prisma/CHANGELOG.md +++ b/packages/ucast-prisma/CHANGELOG.md @@ -1,5 +1,17 @@ # @styra/ucast-prisma +## 0.0.3 + +### Patch Changes + +- 73b18d1: ucastToPrisma takes primary table to project conditions + + Previously, the conversion logic for OR conditions was faulty. + It's not possible to properly translate OR conditions to Prisma + query filters without knowing the primary table of the query. + + That table is now passed as an argument to ucastToPrisma. + ## 0.0.2 ### Patch Changes diff --git a/packages/ucast-prisma/package.json b/packages/ucast-prisma/package.json index c1f48b2b..a297427a 100644 --- a/packages/ucast-prisma/package.json +++ b/packages/ucast-prisma/package.json @@ -1,6 +1,6 @@ { "name": "@styra/ucast-prisma", - "version": "0.0.2", + "version": "0.0.3", "repository": { "type": "git", "url": "https://github.com/StyraInc/opa-typescript.git",