catalog-react: removed entity card type deprecation warning

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2025-09-11 00:53:22 +02:00
parent 42643faff1
commit 79ff318518
2 changed files with 5 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-react': patch
---
Removed the deprecation warning when not passing an explicit type to `EntityCardBlueprint`. Omitting the type is now intended, allowing the layout to pick the default type instead, typically `content`.
@@ -75,11 +75,6 @@ export const EntityCardBlueprint = createExtensionBlueprint({
const finalType = config.type ?? type;
if (finalType) {
yield entityCardTypeDataRef(finalType);
} else {
// eslint-disable-next-line no-console
console.warn(
`DEPRECATION WARNING: Not providing type for entity cards is deprecated. Missing from '${node.spec.id}'`,
);
}
},
});