Apply suggestions from code review

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2023-08-15 17:01:38 +02:00
parent 29a4738cd9
commit d8c8dbf4ef
+4 -4
View File
@@ -1,11 +1,11 @@
---
'@backstage/backend-plugin-api': patch
'@backstage/backend-test-utils': patch
'@backstage/backend-defaults': patch
'@backstage/backend-app-api': patch
'@backstage/backend-test-utils': minor
'@backstage/backend-defaults': minor
'@backstage/backend-app-api': minor
---
**BREAKING**: Removed options from `createBackend`. Service factories are now `BackendFeature`s and should be installed with `backend.add(...)` instead. The following should be migrated:
**BREAKING**: Removed the `services` option from `createBackend`. Service factories are now `BackendFeature`s and should be installed with `backend.add(...)` instead. The following should be migrated:
```ts
const backend = createBackend({ services: [myCustomServiceFactory] });