Skip to main content

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

ParameterTypeDescription
entityEntity
context{ apis: ApiHolder; }

Returns:

Promise<boolean>