Files
backstage/.changeset/silent-hotels-knock.md
T
Fredrik Adelöw 86346c2c11 simplify route bindings in config
Signed-off-by: Fredrik Adelöw <freben@gmail.com>
2024-01-20 11:23:03 +01:00

592 B

@backstage/frontend-app-api
@backstage/frontend-app-api
minor

BREAKING: The app.routes.bindings app-config mapping has been simplified. You now only need to specify the plugin ID and route ID on both sides of the mapping.

Old form:

app:
  routes:
    bindings:
      plugin.catalog.externalRoutes.viewTechDoc: plugin.techdocs.routes.docRoot
      plugin.catalog.externalRoutes.createComponent: plugin.catalog-import.routes.importPage

New form:

app:
  routes:
    bindings:
      catalog.viewTechDoc: techdocs.docRoot
      catalog.createComponent: catalog-import.importPage