Merge pull request #33152 from backstage/rugvip/use-api-holder-no-throw

frontend-plugin-api: change `useApiHolder` to not throw outside API context
This commit is contained in:
Patrik Oldsberg
2026-03-05 14:10:02 +01:00
committed by GitHub
4 changed files with 47 additions and 8 deletions
+6
View File
@@ -0,0 +1,6 @@
---
'@backstage/frontend-plugin-api': patch
'@backstage/core-plugin-api': patch
---
Changed `useApiHolder` to return an empty `ApiHolder` instead of throwing when used outside of an API context.