Added test for cds.localized:false

This commit is contained in:
Daniel
2020-04-07 01:46:20 +02:00
parent 083266b11d
commit 1b338e450c
4 changed files with 29 additions and 4 deletions

12
test/localized-data.cds Normal file
View 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
};
}