File tree Expand file tree Collapse file tree 2 files changed +1
-4
lines changed
Expand file tree Collapse file tree 2 files changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ using {my.common.Hierarchy as Hierarchy} from './hierarchy';
55using {sap .attachments .Attachments } from ' com.sap.cds/cds-feature-attachments' ;
66
77extend my.Orders with changelog .changeTracked ;
8+ extend my.Genres with Hierarchy ;
89
910@ path : ' admin '
1011@ odata . apply . transformations
@@ -20,7 +21,6 @@ service AdminService @(requires: 'admin') {
2021
2122 entity Authors as projection on my .Authors ;
2223 entity Orders as select from my .Orders ;
23- extend my.Genres with Hierarchy ;
2424
2525 type NextSibling : cuid { };
2626 entity GenreHierarchy as projection on my .Genres
Original file line number Diff line number Diff line change 11using {my .bookshop as my } from ' ../db/index' ;
2- using {my .common .Hierarchy as Hierarchy } from ' ./hierarchy' ;
32
43@ path : ' browse '
54@ odata . apply . transformations
@@ -17,8 +16,6 @@ service CatalogService @(requires: 'any') {
1716
1817 @ readonly
1918 entity Reviews as projection on my .Reviews ;
20-
21- extend my.Genres with Hierarchy ;
2219 @ readonly
2320 entity GenreHierarchy as projection on my .Genres ;
2421
You can’t perform that action at this time.
0 commit comments