Harmonize phantom .T getter behavior between ExtensionPoint and ServiceRef
Both `createExtensionPoint` and `createServiceRef` now consistently return `null` from the phantom `.T` getter instead of throwing. Added `toJSON()` to `ExtensionPoint` for parity with `ServiceRef`. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/backend-plugin-api': patch
|
||||
---
|
||||
|
||||
Harmonized the phantom `.T` getter on `ExtensionPoint` to consistently return `null` instead of throwing.
|
||||
Reference in New Issue
Block a user