Fixed: books title was missing

This commit is contained in:
Daniel
2021-06-08 16:01:45 +02:00
committed by Uwe Klinger
parent 6b74c23aa0
commit 0b2182afcb

View File

@@ -2,8 +2,9 @@ using { sap.capire.bookshop as my } from '../db/schema';
service CatalogService @(path:'/browse') {
/** For displaying lists of Books */
@readonly entity ListOfBooks as projection on Books
excluding { descr };
@readonly entity ListOfBooks as projection on Books {
ID, title, author, genre, price, currency
}
/** For display in details pages */
@readonly entity Books as projection on my.Books { *,