From 51c49e0b5b34b3d861397808a018e33856a2b97a Mon Sep 17 00:00:00 2001 From: Eric P Date: Wed, 25 Jun 2025 15:22:05 +0200 Subject: [PATCH 1/2] Grammar fix in events.md Grammar fix for cds.Request . query to clarify the sentence on bound custom operations. Had the comma in the wrong location which made the sentence confusing. --- node.js/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js/events.md b/node.js/events.md index c4a05c9e3..487c90919 100644 --- a/node.js/events.md +++ b/node.js/events.md @@ -343,7 +343,7 @@ Captures the incoming request as a [CQN query](cds-ql#class-cds-ql-query). For e req.query = {SELECT:{from:{ref:['Books']}}} ``` -If bound custom operations `req.query` contains the query to the entity, on which the bound custom operation is called. For unbound custom operations, `req.query` contains an empty object. +If bound custom operations, then `req.query` contains the query to the entity on which the bound custom operation is called. For unbound custom operations, `req.query` contains an empty object. ### . subject {.property} From f0c84c3e46267938b153b637351b2e0f22d4a3b8 Mon Sep 17 00:00:00 2001 From: Eric P Date: Thu, 3 Jul 2025 12:46:02 +0200 Subject: [PATCH 2/2] Update events.md Updated with review feedback --- node.js/events.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js/events.md b/node.js/events.md index 487c90919..87fcd5386 100644 --- a/node.js/events.md +++ b/node.js/events.md @@ -343,7 +343,7 @@ Captures the incoming request as a [CQN query](cds-ql#class-cds-ql-query). For e req.query = {SELECT:{from:{ref:['Books']}}} ``` -If bound custom operations, then `req.query` contains the query to the entity on which the bound custom operation is called. For unbound custom operations, `req.query` contains an empty object. +For bound custom operations, `req.query` contains the query to the entity on which the operation is called. For unbound custom operations, `req.query` contains an empty object. ### . subject {.property}