-
Task
-
Resolution: Done
-
Blocker
-
None
-
None
-
None
-
1
-
False
-
-
False
-
-
After running yarn export-dynamic on a 1.29 Backstage plugin generated by the backstage create backend module cli, the following error is reported here:
Error: Backend plugin is not valid for dynamic loading: it should either export a BackendFeature or BackendFeatureFactory as default export, or export a const dynamicPluginInstaller: BackendDynamicPluginInstaller field as dynamic loading entrypoint
This is as a result of a new[ change|https://backstage.io/docs/reference/backend-plugin-api.createbackendmodule]: createBackendModule() which now returns BackendFeatureCompat, not BackendFeature or BackendFeatureFactory as expected by the dynamic plugins cli
- This deprecation was made in 1.29: https://backstage.io/docs/releases/v1.29.0
To fix this, add BackendFeatureCompat in this check.
- blocks
-
RHIDP-3611 Fix broken dynamic plugin test
-
- Closed
-
-
RHIDP-2791 Update showcase and plugins to use new Backstage release
-
- Closed
-
- is related to
-
RHIDP-2793 [QE] Spike to investigate E2E test failures
-
- Closed
-