@sap-ux/cds-odata-annotation-converter
Advanced tools
Comparing version 0.2.0 to 0.2.1
@@ -87,6 +87,3 @@ "use strict"; | ||
// } | ||
result = `annotate ${rootElementName} with {\n${childSegments[0]} @${result}};\n`; | ||
if (target.terms.length > 1) { | ||
result = `annotate ${rootElementName} with {\n${childSegments[0]} @(${result})};\n`; | ||
} | ||
result = `annotate ${rootElementName} with {\n${childSegments[0]} ${target.terms.length > 1 ? `@(${result})` : `@${result}`}};\n`; | ||
} | ||
@@ -93,0 +90,0 @@ } |
{ | ||
"name": "@sap-ux/cds-odata-annotation-converter", | ||
"description": "Converter for OData annotations in CDS format.", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"publisher": "SAPSE", | ||
@@ -6,0 +6,0 @@ "author": "SAP SE", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
317840
4015