@sap/cds-compiler
Advanced tools
Comparing version 2.15.6 to 2.15.8
@@ -300,4 +300,8 @@ 'use strict'; | ||
// TODO should be flattened, but then alphabetical order is destroyed | ||
let newTextAnno = { '$value': textAnno, '@UI.TextArrangement': value }; | ||
carrier['@Common.Text'] = newTextAnno; | ||
// Do not overwrite existing nested annotation values, instead give existing | ||
// nested annotation precedence and remove outer annotation (always) | ||
if(!carrier['@Common.Text.@UI.TextArrangement'] && textAnno) { | ||
carrier['@Common.Text'] = { '$value': textAnno, '@UI.TextArrangement': value }; | ||
} | ||
delete carrier[aName]; | ||
@@ -304,0 +308,0 @@ } |
@@ -105,2 +105,3 @@ // CSN frontend - transform CSN into XSN | ||
'target', 'elements', 'enum', 'items', | ||
'cardinality', // for association publishing in views | ||
'type', 'length', 'precision', 'scale', 'srid', 'localized', 'notNull', | ||
@@ -107,0 +108,0 @@ 'keys', 'on', // only with 'target' |
@@ -187,5 +187,7 @@ // Transform XSN (augmented CSN) into CSN | ||
// sync with definition in from-csn.js: | ||
// Note: Order here is also the property order in CSN. | ||
const typeProperties = [ | ||
'target', 'elements', 'enum', 'items', // TODO: notNull? | ||
'type', 'length', 'precision', 'scale', 'srid', 'localized', | ||
'target', 'elements', 'enum', 'items', | ||
'cardinality', // for association publishing in views | ||
'type', 'length', 'precision', 'scale', 'srid', 'localized', // TODO: notNull? | ||
'foreignKeys', 'on', // for explicit ON/keys with REDIRECTED | ||
@@ -192,0 +194,0 @@ ]; |
{ | ||
"name": "@sap/cds-compiler", | ||
"version": "2.15.6", | ||
"version": "2.15.8", | ||
"description": "CDS (Core Data Services) compiler and backends", | ||
@@ -5,0 +5,0 @@ "homepage": "https://cap.cloud.sap/", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4051995
80088