Skip to content

Commit fe20b56

Browse files
authored
Fix compiler error (#453)
1 parent 5947b74 commit fe20b56

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

srv/admin-service.cds

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ using {my.common.Hierarchy as Hierarchy} from './hierarchy';
55
using {sap.attachments.Attachments} from 'com.sap.cds/cds-feature-attachments';
66

77
extend 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

srv/cat-service.cds

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using {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

0 commit comments

Comments
 (0)