Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit b2a5767

Browse files
committed
Expand MaxLevels
1 parent fb99f34 commit b2a5767

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bookshop/db/schema.cds

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using {
66

77
namespace sap.capire.bookshop;
88

9+
@Capabilities.ExpandRestrictions.MaxLevels: 1
910
entity Books : managed {
1011
key ID : Integer;
1112
title : localized String(111) @mandatory;
@@ -20,7 +21,7 @@ entity Books : managed {
2021
on pages.parent = $self;
2122
}
2223

23-
@Capabilities.ExpandRestrictions.NonExpandableProperties: [parent]
24+
@Capabilities.ExpandRestrictions.MaxLevels: 1
2425
entity Pages {
2526
key parent : Association to Books;
2627
key number : Integer;

0 commit comments

Comments
 (0)