@sap-ux/annotation-converter
Advanced tools
Comparing version 0.6.10 to 0.6.11
# @sap-ux/annotation-converter | ||
## 0.6.11 | ||
### Patch Changes | ||
- 5e2ff68: Resolving path now works correctly even when the namespace is the same as an entitySet | ||
## 0.6.10 | ||
@@ -4,0 +10,0 @@ |
@@ -54,3 +54,3 @@ "use strict"; | ||
// no starting point given: start at the entity container | ||
if (pathSegments[0].startsWith(converter.rawSchema.namespace) && | ||
if (pathSegments[0].startsWith(`${converter.rawSchema.namespace}.`) && | ||
pathSegments[0] !== ((_a = converter.getConvertedEntityContainer()) === null || _a === void 0 ? void 0 : _a.fullyQualifiedName)) { | ||
@@ -57,0 +57,0 @@ // We have a fully qualified name in the path that is not the entity container. |
{ | ||
"name": "@sap-ux/annotation-converter", | ||
"version": "0.6.10", | ||
"version": "0.6.11", | ||
"description": "SAP Fiori OData - Annotation converter", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -109,3 +109,3 @@ import type { | ||
if ( | ||
pathSegments[0].startsWith(converter.rawSchema.namespace) && | ||
pathSegments[0].startsWith(`${converter.rawSchema.namespace}.`) && | ||
pathSegments[0] !== converter.getConvertedEntityContainer()?.fullyQualifiedName | ||
@@ -112,0 +112,0 @@ ) { |
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
220475