Skip to main content
Version: Next

hasRelationWarnings()

Home > @backstage/plugin-catalog > hasRelationWarnings

Returns true if the given entity has relations to other entities, which don't exist in the catalog

Signature:

function hasRelationWarnings(entity: Entity, context: {
apis: ApiHolder;
}): Promise<boolean>;

Parameters

Parameter

Type

Description

entity

Entity

context

{ apis: ApiHolder; }

**Returns:**

Promise<boolean>