Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion srv/admin-service.cds
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ using {my.common.Hierarchy as Hierarchy} from './hierarchy';
using {sap.attachments.Attachments} from 'com.sap.cds/cds-feature-attachments';

extend my.Orders with changelog.changeTracked;
extend my.Genres with Hierarchy;

@path: 'admin'
@odata.apply.transformations
Expand All @@ -20,7 +21,6 @@ service AdminService @(requires: 'admin') {

entity Authors as projection on my.Authors;
entity Orders as select from my.Orders;
extend my.Genres with Hierarchy;

type NextSibling : cuid { };
entity GenreHierarchy as projection on my.Genres
Expand Down
3 changes: 0 additions & 3 deletions srv/cat-service.cds
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using {my.bookshop as my} from '../db/index';
using {my.common.Hierarchy as Hierarchy} from './hierarchy';

@path : 'browse'
@odata.apply.transformations
Expand All @@ -17,8 +16,6 @@ service CatalogService @(requires: 'any') {

@readonly
entity Reviews as projection on my.Reviews;

extend my.Genres with Hierarchy;
@readonly
entity GenreHierarchy as projection on my.Genres;

Expand Down