Skip to content

Commit c9a10a2

Browse files
committed
workaround for etag issue
1 parent 4bcc3e5 commit c9a10a2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

db/common.cds

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
namespace my.bookshop;
2+
using {sap.attachments.Attachments} from `com.sap.cds/cds-feature-attachments`;
23

34
////////////////////////////////////////////////////////////////////////////
45
//
@@ -8,3 +9,7 @@ type TechnicalBooleanFlag : Boolean @(
89
UI.Hidden,
910
Core.Computed
1011
);
12+
13+
annotate Attachments with {
14+
modifiedAt @(odata.etag: null);
15+
}

0 commit comments

Comments
 (0)