From 21c568acef995dd13e7766f6ea11d23844ac27dd Mon Sep 17 00:00:00 2001 From: Simran Spiller Date: Thu, 11 Jan 2024 10:03:40 +0100 Subject: [PATCH 1/2] Mention extended edge update validation in Gharial --- .../3.12/release-notes/version-3.12/api-changes-in-3-12.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md b/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md index cd5cda57ed..9ff218efa6 100644 --- a/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md @@ -69,6 +69,13 @@ Moreover, a `remove-unnecessary-calculations-4` rule has been added. The affected endpoints are `POST /_api/cursor`, `POST /_api/explain`, and `GET /_api/query/rules`. +#### Gharial API + +The `PATCH /_api/gharial/{graph}/edge/{collection}/{edge}` endpoint to update +edges in named graphs now validates the referenced vertex if only the `_from` +or `_to` edge attribute is modified. Previously, the validation only occurred if +both were set in the request. + #### Limit to the number of databases in a deployment Introduced in: v3.10.10, v3.11.2 From ddd8335dfabe59f86d6680a79e683293e257ca89 Mon Sep 17 00:00:00 2001 From: Simran Date: Fri, 12 Jan 2024 14:20:02 +0100 Subject: [PATCH 2/2] Apply suggestions from code review Co-authored-by: Paula Mihu <97217318+nerpaula@users.noreply.github.com> --- .../3.12/release-notes/version-3.12/api-changes-in-3-12.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md b/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md index 9ff218efa6..b3decdb698 100644 --- a/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md +++ b/site/content/3.12/release-notes/version-3.12/api-changes-in-3-12.md @@ -72,8 +72,8 @@ The affected endpoints are `POST /_api/cursor`, `POST /_api/explain`, and #### Gharial API The `PATCH /_api/gharial/{graph}/edge/{collection}/{edge}` endpoint to update -edges in named graphs now validates the referenced vertex if only the `_from` -or `_to` edge attribute is modified. Previously, the validation only occurred if +edges in named graphs now validates the referenced vertex when modifying either +the `_from` or `_to` edge attribute. Previously, the validation only occurred if both were set in the request. #### Limit to the number of databases in a deployment