Activating pre-built extensions in cat-service

This commit is contained in:
Daniel
2020-03-22 14:40:53 +01:00
parent 3872ac21a3
commit 073b082935
3 changed files with 4 additions and 1 deletions

View File

@@ -1,6 +1,5 @@
namespace sap.capire.bookshop;
using { Currency, managed, sap } from '@sap/cds/common';
// using { Currency, managed, sap } from '@capire/common';
entity Books : managed {
key ID : Integer;

View File

@@ -3,6 +3,7 @@
"version": "1.0.0",
"description": "A simple self-contained bookshop service.",
"dependencies": {
"@capire/common": "^3.31.1",
"@sap/cds": "^3.31.1",
"express": "^4.17.1"
},

View File

@@ -10,3 +10,6 @@ service CatalogService @(path:'/browse') {
action order (book : Books.ID, amount: Integer);
}
// activate pre-build extensions from...
using from '@capire/common';