From 862e41623974165913fdd4244bd04fd7ed986c02 Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Tue, 1 Mar 2022 13:34:38 +0100 Subject: [PATCH] catalog-backend: Remove entityRef from CatalogProcessorRelationResult Signed-off-by: Johan Haals --- .changeset/real-kids-hide.md | 5 +++++ plugins/catalog-backend/src/ingestion/processors/types.ts | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 .changeset/real-kids-hide.md diff --git a/.changeset/real-kids-hide.md b/.changeset/real-kids-hide.md new file mode 100644 index 0000000000..188a4061c9 --- /dev/null +++ b/.changeset/real-kids-hide.md @@ -0,0 +1,5 @@ +--- +'@backstage/plugin-catalog-backend': minor +--- + +**Breaking**: Removed `entityRef` from `CatalogProcessorRelationResult`. The field is not used by the catalog and relation information is already available inside the `reation` property. diff --git a/plugins/catalog-backend/src/ingestion/processors/types.ts b/plugins/catalog-backend/src/ingestion/processors/types.ts index 879b4d32a8..8a66d3eeb1 100644 --- a/plugins/catalog-backend/src/ingestion/processors/types.ts +++ b/plugins/catalog-backend/src/ingestion/processors/types.ts @@ -193,7 +193,6 @@ export type CatalogProcessorEntityResult = { export type CatalogProcessorRelationResult = { type: 'relation'; relation: EntityRelationSpec; - entityRef?: string; }; /** @public */