BlogBlogtypeA post on somebody's own site or a community platform. Nobody edits it after publication, so it dates from the day it was written.See every one →SAP Community

SAP CAPv7 - Node.js Highlights and Experiences

An account of upgrading a 100+ table CAP Node.js project from v6 to v7, working through breaking changes in @sap/cds 7: event handlers now always receive an array, service paths move under /odata/v4/... unless serve_on_root is set, and cds-serve replaces cds run. It goes deepest on the GraphQL plugin, @cap-js/graphql: the /graphql endpoint it serves, Composition results wrapped in a nodes connection, and offset-based pagination reached through OData's top and skip rather than GraphQL's own limit and offset.

Where it sits

Explains
GraphQLCAPGraphQLcapabilityServing the same model over GraphQL instead of OData — one endpoint, the client naming the fields it wants, for consumers who expect that shape rather than an OData one.@cap-js/graphqlCAP@cap-js/graphqlcds-pluginA protocol adapter that generates a GraphQL schema from the model and serves it, so the same services answer GraphQL without a second definition of them.@sap/cdsCAP@sap/cdspackageThe CAP Node.js runtime, which compiles the CDS model, serves the services declared in it, answers generic requests before any handler runs, and loads every cds-plugin.
Since then
@cap-js/graphql has been through 8 major lines since this was published, most recently 0.12 (2025-05), 0.13 (2025-07), 0.14 (2025-10)
Source
reachable

Who is behind it

davidtilldavidtillPersonWrote this
In the atlas: wrote 1
author

Before you read it

ApplicabilityVersion driftcds 7, line ended

The piece names the version it was written against, and that line has since been crossed by a breaking one. The steps may need translating; nothing here says which.

Properties

About this work

declared and crawled
Published
declared
Published on
declared
Views
crawled
1,158

More on this19

Group by19 of 19 pieces
Piece, what it offersStill applies
Also explainingGraphQL19
CAP: The Road Ahead - Simplicity in an AI Era
YouTube — SAP Developers playlists, SAP Developers
nothing recorded
September 15th: What's New on developers.sap.com
SAP Community, Thomas Jung
nothing recorded
Hello React & Vue : SAP CAP’s New UI Layer is Here!
SAP Community, Yogananda
nothing recorded
CAP Developers - Call to Action to mitigate and Apply Solution provided in SAP Note 3747787
SAP Community, Yogananda
nothing recorded
CAP, RAP, or Both: Stop Hiding Behind 'It Depends'
SAP Community, Walter Andres Aguero MachadoThe reasoning
nothing recorded
What's new in SAP Cloud Application Programming Model – January 2026
SAP Community, BirgitSThe reasoning
nothing recorded
CAP Heaven? Not Yet — But You Can See It from Here
SAP Community, Mattias JohanssonThe reasoning
nothing recorded
Declarative Programming in CAP: Less Code, More Value
SAP Community, BirgitSThe reasoning
nothing recorded
What's new in SAP Cloud Application Programming Model – November 2025
SAP Community, BirgitSThe reasoning
nothing recorded
What's new in SAP Cloud Application Programming Model – September 2025
SAP Community, BirgitSThe reasoning
nothing recorded
Don't "let it crash", is this the new CAP guideline?
SAP Community, Dinu
nothing recorded
CAP: GraphQL as new protocol
SAP Community, jhodel18Runnable code
New majors
SAP CAP function and action with Unstructured/Dynamic Type Input/Output
SAP Community, Ajit Kumar Panda
nothing recorded
Getting started with cds.ql in NodeJS for CAP - 101 on how to query data
SAP Community, leoirudayam
nothing recorded
SAP GraphQL in CAPm (node.js)
SAP Community, enric101The reasoning
nothing recorded
CAP is important because it's not important
SAP Community, DJ AdamsThe reasoning
nothing recorded
SAP Cloud Application Programming Model (CAP) - start here
SAP Community, DJ AdamsThe reasoning
nothing recorded
Everything new: Try out the latest features in CAP
SAP TechEd — session catalogue, Daniel Hutzel, Daniel SchlachterA recipe
nothing recorded
AI needs a foundation: A map of the plug-in ecosystem for CAP
SAP TechEd — session catalogue, Mike ZaschkaThe reasoning
nothing recorded

Details

Graph6 edges
← POINTS HERE
POINTS OUT →
explainsGraphQLcapability, core only
explains@cap-js/graphqlartifact
explains@sap/cdsartifact
published onSAP Communitypublishing source
discovered viaSAP Communitycap-tag
Source
Type
blog
Published on
Host
community.sap.com
First seen
History1
  • Entered the atlasDiscovered via SAP Community · cap-tag.
For your agent
Ref
content:sap-capv7-node-js-highlights-and-experiences
JSON
/content/sap-capv7-node-js-highlights-and-experiences.json
MCP
Connecting an agent