Skip to Content
0
Jan 30, 2023 at 03:54 PM

CAP Node.js: reflection documentation change

116 Views

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;
`)