Update .changeset/young-lies-attack.md

Co-authored-by: Patrik Oldsberg <poldsberg@gmail.com>
Signed-off-by: Vincenzo Scamporlino <vincenzos@spotify.com>
This commit is contained in:
Vincenzo Scamporlino
2023-08-15 00:35:32 +02:00
committed by Patrik Oldsberg
parent 6e7a1b07f3
commit f5f81edb6b
+1 -3
View File
@@ -5,9 +5,7 @@
'@backstage/backend-app-api': patch
---
Removed options from `createBackend`.
The `createBackend` method doesn't accept any options anymore as in the following:
**BREAKING**: Removed options 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] });