I am referring to URL:
https://cap.cloud.sap/docs/node.js/cds-reflect
Please get back to me on the following feedback:
There seems to be an error in the example...
Current Example:
const m = cds.linked (CQL`
type Bar : String(22);
entity Foo { bar: Bar }
entity Woo as projection on Foo;
`)
It must not be ‘CQL’, but ‘CDL’
const m = cds.linked (CDL`
type Bar : String(22);
entity Foo { bar: Bar }
entity Woo as projection on Foo;
`)