Add dependency of for components in entity processor and validator

Signed-off-by: vahagsaribekyan <32436397+vahagsaribekyan@users.noreply.github.com>
This commit is contained in:
vahagsaribekyan
2024-09-11 13:17:29 +04:00
committed by GitHub
parent 78316f3976
commit 03a05536c0
@@ -166,6 +166,12 @@ export class BuiltinKindsEntityProcessor implements CatalogProcessor {
RELATION_DEPENDS_ON,
RELATION_DEPENDENCY_OF,
);
doEmit(
component.spec.dependencyOf,
{ defaultNamespace: selfRef.namespace },
RELATION_DEPENDENCY_OF,
RELATION_DEPENDS_ON,
);
doEmit(
component.spec.system,
{ defaultKind: 'System', defaultNamespace: selfRef.namespace },