From 862e41623974165913fdd4244bd04fd7ed986c02 Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Tue, 1 Mar 2022 13:34:38 +0100 Subject: [PATCH 1/2] 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 */ From b19061a5471a3ff63574f934ab9021c6019a88ae Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Tue, 1 Mar 2022 13:47:25 +0100 Subject: [PATCH 2/2] update api report Signed-off-by: Johan Haals --- plugins/catalog-backend/api-report.md | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/catalog-backend/api-report.md b/plugins/catalog-backend/api-report.md index 9b4db418b3..604f92a4c3 100644 --- a/plugins/catalog-backend/api-report.md +++ b/plugins/catalog-backend/api-report.md @@ -347,7 +347,6 @@ export type CatalogProcessorParser = (options: { export type CatalogProcessorRelationResult = { type: 'relation'; relation: EntityRelationSpec; - entityRef?: string; }; // @public (undocumented)