#How to use createBackendPlugin with createServiceFactory from same plugin?
4 messages · Page 1 of 1 (latest)
One option is to use the defaultFactory prop when creating your service-ref to attach a default factory to it
https://backstage.io/docs/backend-system/architecture/services/#default-service-factories has an example, and I guess this bit is relevant:
It is recommended to always define a default factory for any service that you are exporting for use in other plugins or modules.
Worked thanks!