@firestartr/cli 1.45.0-snapshot-17 → 1.45.0-snapshot-18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.js +3 -3
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -274531,7 +274531,7 @@ Check the following Claims to ensure that the tfStateKey is unique:
|
|
|
274531
274531
|
function validateReferencesInCR(cr, crs) {
|
|
274532
274532
|
if (isCatalogEntity(cr)) {
|
|
274533
274533
|
if (getConfiguredProvider() === AllowedProviders.catalog) {
|
|
274534
|
-
validateCatalogEntities(cr, crs);
|
|
274534
|
+
//validateCatalogEntities(cr, crs);
|
|
274535
274535
|
//console.log(`Skip validation ${cr.name}`);
|
|
274536
274536
|
}
|
|
274537
274537
|
}
|
|
@@ -274592,8 +274592,8 @@ function validateNonCatalogEntities(cr, crs) {
|
|
|
274592
274592
|
*/
|
|
274593
274593
|
function validateCatalogEntities(cr, crs) {
|
|
274594
274594
|
for (const rel of WELL_KNOWN_RELATIONS_CATALOG[cr.kind]) {
|
|
274595
|
-
if (
|
|
274596
|
-
const refObject =
|
|
274595
|
+
if (_.has(cr, rel)) {
|
|
274596
|
+
const refObject = _.get(cr, rel);
|
|
274597
274597
|
const catalogEntityName = extractNameCatalogEntity(cr);
|
|
274598
274598
|
if (!Array.isArray(refObject)) {
|
|
274599
274599
|
const propertyRef = createCatalogEntityPropertyRef(refObject);
|