Merge pull request #33650 from backstage/freben/simplify-create-route-ref-types

Simplify createRouteRef type signature
This commit is contained in:
Fredrik Adelöw
2026-03-28 11:20:45 +01:00
committed by GitHub
5 changed files with 21 additions and 29 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/core-compat-api': patch
---
Removed unnecessary type argument from internal `createRouteRef` call.
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/frontend-plugin-api': minor
---
Simplified the type signature of `createRouteRef` by replacing the dual `TParams`/`TParamKeys` type parameters with a single `TParamKey` parameter. This is a breaking change for callers that explicitly provided type arguments, but most usage that relies on inference is unaffected.