chore: smol comment

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-12-20 14:09:47 +01:00
parent b6cb774823
commit ba84063925
2 changed files with 5 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
---
'@backstage/config-loader': patch
'@backstage/backend-defaults': patch
---
Exclude `@backstage/backend-common` from schema collection if `@backstage/backend-defaults` is present
+4 -1
View File
@@ -159,7 +159,10 @@ export async function collectConfigSchemas(
({ packageName }) => packageName === '@backstage/backend-defaults',
);
// Filter out the backend-common schema unless the backend-defaults schema is missing
// Filter out the backend-common schema unless the backend-defaults schema is missing.
// This was causing issue with merging of the schemas.
// This should be removed when we have no need for backend-common anymore, and other
// packages are no longer depending on it.
return allSchemas.filter(
({ packageName }) =>
packageName !== '@backstage/backend-common' || isMissingBackendDefaults,