Hi,We have a project running on CAP CDS7 which uses remote services in handlers like thisthis.on('READ', 'Something', async req => {
const svc = await cds.connect.to('AnotherService');
const res = await svc.run(SELECT.from('RemoteThing', some...
Hi,We are experiencing issues with the versioning of dependencies between @Sisn-cloud-sdk packages. If we bring in one of the packages alone, that will in turn bring other packages as dependencies. The semver of these dependencies will pick higher ve...
Hi,We are upgrading a CAP project from CDS7 to CDS8 where we have programmatic adjustments to the services metadata. Like this// In custom server.js
const cds = require('@sap/cds');
module.exports = (o) => {
// ...
cds.on('loaded', csn => {
...
Hi,We are upgrading a CAP project from CDS7 to CDS8 and are getting issues with media fields using a custom handler to fetch their content, like this ImageMediaType : String;
@Core.MediaType: ImageMediaType
virtual Im...
Hi,We are starting to use the beta custom build feature of npm Workspaces. Is there an intended approach of dealing with freezing of imported packages?Without the npm workspaces, this is handled by "cds build" (it copies the package-lock.json file of...
Hi @LuizGomes ,We use a "patch-package" for now, with a patch file like that. Not a long term solution but works until we get this clarified.diff --git a/node_modules/@sap/cds/libx/_runtime/remote/Service.js b/node_modules/@sap/cds/libx/_runtime/remo...
Thanks for the input! Yes, we run it from each workspace folder. I tried now running it from the project root, which did not trigger any build activities at all (no build tasks got included)? Is there a sample repo using this approach we can refer to...
Thanks @knutheusermann for your continuous effort to maintain this great reference!We are trying to post Down Payments with reference to a Sales Order, i.e. this UI operation.Do you have a working example on this, in particular we cannot see where to...
Hi Nicolas,Answers to your questions:- Is it only for display mode or do you also want to extend the edit style template ?I think display mode is the main use case. Editing values which are keys to something else will typically come down to a Value H...