hyper service implementation layer for CAP nodejs runtime
install dependency
npm i -S cds-hyper-app-service
overwrite the
app-service
implementation
{
"cds": {
"requires": {
"app-service": {
"impl": "cds-hyper-app-service",
// default value, developer could overwrite this config
"exts": ["builtIn"]
}
}
}
}
- Hyper Implementation - enhanced
@impl
annotation for entity/handler level - Hyper Repository - repository implementation like spring repository but applied to CAP nodejs runtime
-
ApplicationServiceExt
concept- optional
beforeInit
/afterInit
method - support options for
exts
node - more context data
- documentation/example
- optional
@sap/cds
@5
<->cds-hyper-impl
@0.x
@sap/cds
@6
<->cds-hyper-impl
@6.x