-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
The structure of cds.Request is described here. The types do not reflect what is described.
const request: cds.Request
req.errors // Property 'errors' does not exist on type 'Request_2...'
req.messages // Property 'messages' does not exist on type 'Request_2...'
Expected Behavior
The errors
and messages
properties should be available in the type definitions so that they can be accessed without type errors.
References
Versions
| @cap-js/asyncapi | 1.0.2 |
| @cap-js/attachments | 1.1.9 |
| @cap-js/audit-logging | 0.8.2 |
| @cap-js/cds-test | 0.2.0 |
| @cap-js/cds-typer | 0.33.1 |
| @cap-js/cds-types | 0.9.0 |
| @cap-js/change-trackin | 1.0.7 |
| @cap-js/db-service | 1.17.2 |
| @cap-js/hana | 1.6.1 |
| @cap-js/openapi | 1.1.2 |
| @cap-js/sqlite | 1.8.0 |
| @cap-js/telemetry | 1.2.0 |
| @sap/cds | 8.8.1 |
| @sap/cds-common-conten | 2.1.0 |
| @sap/cds-compiler | 5.6.0 |
| @sap/cds-dk | 8.6.1 |
| @sap/cds-dk (global) | 8.8.2 |
| @sap/cds-fiori | 1.3.0 |
| @sap/cds-foss | 5.0.1 |
| @sap/cds-mtxs | 2.4.2 |
| @sap/eslint-plugin-cds | 3.2.0 |
| Node.js | v22.14.0 |
Anything else? Logs?
No response