fixed support for mocha
This commit is contained in:
12
test/localized-data/services.cds
Normal file
12
test/localized-data/services.cds
Normal file
@@ -0,0 +1,12 @@
|
||||
using { CatalogService, sap.capire.bookshop as my } from '@capire/bookshop';
|
||||
using from '@capire/common';
|
||||
|
||||
extend service CatalogService with {
|
||||
@cds.localized:false
|
||||
entity BooksSans as projection on my.Books {
|
||||
*, //> non-localized defaults, e.g. title
|
||||
key ID,
|
||||
texts.title as localized_title,
|
||||
texts.locale
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user