{"ref":"content:how-we-could-potentially-have-nestjs-as-runtime-for-sap-cap","page":"/content/how-we-could-potentially-have-nestjs-as-runtime-for-sap-cap","json":"/content/how-we-could-potentially-have-nestjs-as-runtime-for-sap-cap.json","generated":"2026-11-15","drafted_with_ai":true,"entity":{"id":"how-we-could-potentially-have-nestjs-as-runtime-for-sap-cap","title":"How we could potentially have nestjs as runtime for SAP CAP","url":"https://community.sap.com/t5/technology-blog-posts-by-members/how-we-could-potentially-have-nestjs-as-runtime-for-sap-cap/ba-p/13869645","content_type":"blog","explains":["capability:typescript-patterns"],"summary":"A proof-of-concept that swaps [@sap/cds](artifact:sap-cds)'s ApplicationService and ODataAdapter dispatch for NestJS controllers, providers and interceptors, built by the author to learn NestJS rather than to ship a runtime. It works through CAP's run-dispatch-handle loop and AsyncLocalStorage-based transaction boundaries in detail before mapping them onto NestJS dependency injection and interceptors — one community answer to the controller-service-repository layering question core TypeScript support leaves open. The author's own conclusion is that the result reimplements CAP Java in Node.js, and they do not plan to take it further.","short":"Proof of concept running CAP dispatch through NestJS","author":"alex_myakinkii","published":"2024-09-19","against":[{"ref":"ecosystem:cap","version":"8"}],"provenance":{"discovered_via":[{"source":"source:sap-community"}],"first_seen":"2026-09-11"},"drafted_with_ai":true,"published_on":"source:sap-community"},"readings":{"liveness":[{"label":"Checked against the source","tier":"unknown","evidence":"nobody has checked it"},{"label":"Source reachable","tier":"unknown","evidence":"not crawled"},{"label":"Age","tier":"fair","evidence":"published 26 months ago"}],"compatibility":[{"label":"Version","tier":"poor","evidence":"cds 8, line ended"},{"label":"Moved since?","tier":"poor","evidence":"@sap/cds-dk, December 2024, 2024-12"},{"label":"Findings","tier":"good","evidence":"none flagged"}],"reach":[{"value":2553,"unit":"views"},{"value":0,"unit":"comments"},{"value":2,"unit":"likes"}]},"signals":{"views":2553,"likes":2,"comments":0,"metrics_at":"2026-11-01"},"series":null,"edges":{"authors":[]}}