There was an error while loading. Please reload this page.
1 parent b47b5bc commit 4e4df54Copy full SHA for 4e4df54
1 file changed
app/common.cds
@@ -71,4 +71,14 @@ annotate my.Books with {
71
annotate my.Authors with {
72
ID @title:'{i18n>ID}' @UI.HiddenFilter;
73
name @title:'{i18n>AuthorName}';
74
-}
+}
75
+
76
+////////////////////////////////////////////////////////////////////////////
77
+//
78
+// Fiori requires generated IDs to be annotated with @Core.Computed
79
80
+using { cuid } from '@sap/cds/common';
81
82
+annotate cuid with {
83
+ ID @Core.Computed
84
0 commit comments