From 128a2c592b074d84abb3c22079568308014f0a2f Mon Sep 17 00:00:00 2001 From: Sebastian Esch Date: Wed, 16 Aug 2023 15:25:51 +0200 Subject: [PATCH] fixed after handler description in core-services.md The documentation mentioned, that after handlers run *before* on handlers. *After* is correct. --- node.js/core-services.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.js/core-services.md b/node.js/core-services.md index 0f020b1ee..ef88b2d81 100644 --- a/node.js/core-services.md +++ b/node.js/core-services.md @@ -506,7 +506,7 @@ class BooksService extends cds.ApplicationService { - **`.on`** handlers actually fulfill requests, e.g. by reading/writing data from/to databases - **`.before`** handlers run before the `.on` handlers, frequently for validating inbound data -- **`.after`** handlers run before the `.on` handlers, frequently to enrich outbound data +- **`.after`** handlers run after the `.on` handlers, frequently to enrich outbound data **Argument `event`** can be one of: