From 2e403a57fcd8495837d8aefbc21307414998911a Mon Sep 17 00:00:00 2001 From: dragolea Date: Tue, 5 Nov 2024 10:37:29 +0200 Subject: [PATCH 1/2] chore(readme): updated readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c58344c..121f8b2 100644 --- a/README.md +++ b/README.md @@ -1609,7 +1609,7 @@ private async singeInstanceMethodAndEntitySet(@Results() results : MyEntity[], @ **@ValidationResults** -The `@ValidationResults` decorator is designed to capture and inject validation results directly into a method parameter, allowing access to individual validation flags within the decorated method. +The `@ValidationResults` decorator allows to capture and inject validation results directly into a method parameter, allowing access to `individual validation flags` within the decorated method. When used alongside the [@Validate](#validate) decorator, it enables you to perform conditional logic based on specific validation outcomes. @@ -1661,7 +1661,7 @@ Parameter decorator used to inject locale information into a method parameter. @BeforeCreate() public async beforeCreate( @Req() req: TypedRequest, - @Locale() locale: stromg + @Locale() locale: string ) { if (locale === 'en-US') { // handle logic specific to the 'en-US' locale From c8306ba8a3de9b4f993ac156978411520bc5a29e Mon Sep 17 00:00:00 2001 From: Automated Version Bump Date: Tue, 5 Nov 2024 08:38:35 +0000 Subject: [PATCH 2/2] ci: version bump to 3.1.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 7b34679..7746fde 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@dxfrontier/cds-ts-dispatcher", - "version": "3.1.1", + "version": "3.1.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@dxfrontier/cds-ts-dispatcher", - "version": "3.1.1", + "version": "3.1.2", "license": "MIT", "workspaces": [ "test/bookshop" diff --git a/package.json b/package.json index ae9fab9..15fb08e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@dxfrontier/cds-ts-dispatcher", - "version": "3.1.1", + "version": "3.1.2", "description": "The goal of CDS-TS-Dispatcher is to significantly reduce the boilerplate code required to implement TS handlers provided by the SAP CAP framework.", "main": "./dist/index.js", "module": "./dist/index.mjs",