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 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",