Nodejs
A modern and clean Neovim setup for CAP Node.js - configuration and diagnostics
In this post I describe my re-worked basic setup for working with CAP Node.js in Neovim, focusing on the configuration and digging into the LSP based diagnostic facilities. Introduction The advent of...
Turning an OData expand into a cds.ql CQL query with a projection function in CAP
If, while serving a call to your provided CAP service, you want to construct some CQL to perform on your database in a similar way to how $expand works in OData, this post may help. Before I start,...
CAP, CORS and custom headers
A colleague asked me if I could add CORS support to a service I was running, built with the SAP Cloud Application Programming Model (CAP). CAP already has some basic support for CORS, so I dug in....
Solving the SAP TechEd Easter Egg on the Web
If you're at SAP TechEd 2023 in Bengaluru, India you may have seen a little Easter Egg in the form of some Node.js code. If you've seen it and are curious about it, and want to execute it but don't...