diff --git a/.changeset/curly-fishes-speak.md b/.changeset/curly-fishes-speak.md index 6654855a46..8cd53daeb4 100644 --- a/.changeset/curly-fishes-speak.md +++ b/.changeset/curly-fishes-speak.md @@ -9,5 +9,23 @@ This resulted in 404 errors in newly bootstrapped backstage applications, when adding components without configuration. To fix this in an existing backstage application, the locationAnalyzer needs -to be added to the `packages/backend/src/plugins/catalog.ts` file. -Check out `/backstage/packages/create-app/templates/default-app/packages/backend/src/plugins/catalog.ts` for reference. +to be carried from the builder to the router in the +`packages/backend/src/plugins/catalog.ts` file. + +```diff + const builder = new CatalogBuilder(env); + const { + entitiesCatalog, + locationsCatalog, + higherOrderOperation, ++ locationAnalyzer, + } = await builder.build(); + // ... + return await createRouter({ + entitiesCatalog, + locationsCatalog, + higherOrderOperation, ++ locationAnalyzer, + logger: env.logger, + }); +```