You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "@cds.external" Tag and "associations" Tag look like they should be implemented as an optional field. If using "@cds.external" isn't the best practice way of figuring out whether or not a LinkedDefinition is external please let me know.
the linked definitions have been exposed in the latest types for cds8. If you have had the chance to upgrade to cds8 yet, could you please check if this issue still persists? Thanks!
Is there an existing issue for this?
Current Behavior
The type LinkedDefinition is missing multiple properties that exist in the debugger or the other way around.
For example:
associations
is missing,target
is mendatory but doesnt exist,or any ´´´annotations´´´ like
@cds.external
dont exist either.Expected Behavior
the propertie
associations
to exsist,target
to not be mendatory and properties forannotations
to existReferences
The values either exsist in the debugger but arent documented or are documented wrong.
Versions
| @cap-js/cds-types | 0.2.0 |
| @cap-js/sqlite | 1.6.0 |
| @sap/cds | 7.8.0 |
| @sap/cds-compiler | 4.8.0 |
| @sap/cds-dk (global) | 7.8.1 |
| @sap/cds-fiori | 1.2.3 |
| @sap/cds-foss | 5.0.0 |
| @sap/cds-mtxs | 1.17.0 |
| @sap/eslint-plugin-cds | 2.6.7 |
| Node.js | v18.17.1 |
Anything else? Logs?
I thought i'd also mention it here that req.errors also doesnt exsist.
The text was updated successfully, but these errors were encountered: