@sap/cds-compiler
Advanced tools
Comparing version 4.6.0 to 4.6.2
@@ -103,2 +103,4 @@ // Populate views with elements, elements with association targets, ... | ||
const redirectInSubQueries = isDeprecatedEnabled( options, '_redirectInSubQueries' ); | ||
const ignoreSpecifiedElements | ||
= isDeprecatedEnabled( model.options, 'ignoreSpecifiedQueryElements' ); | ||
@@ -546,3 +548,5 @@ forEachDefinition( model, traverseElementEnvironments ); | ||
} | ||
else if (typePropertiesFromSpecifiedElements[prop]) { | ||
else if (typePropertiesFromSpecifiedElements[prop] && !ignoreSpecifiedElements) { | ||
// If ignoreSpecifiedElements is set, we ignore type properties of specified elements, | ||
// similar to how it was done in cds-compiler v3. Only annotations are copied. | ||
if (!ielem.typeProps$) | ||
@@ -549,0 +553,0 @@ setLink( ielem, 'typeProps$', Object.create( null ) ); |
{ | ||
"name": "@sap/cds-compiler", | ||
"version": "4.6.0", | ||
"version": "4.6.2", | ||
"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
4746473
97227