Skip to content

Move route bindings to declarative app-config for NFS#1442

Closed
gusevda wants to merge 2 commits intomainfrom
nfs-route-bindings
Closed

Move route bindings to declarative app-config for NFS#1442
gusevda wants to merge 2 commits intomainfrom
nfs-route-bindings

Conversation

@gusevda
Copy link
Copy Markdown
Contributor

@gusevda gusevda commented Mar 26, 2026

What does this PR do?

Migrates route bindings from the imperative bindRoutes callback in createApp() to declarative app.routes.bindings in app-config.yaml, aligning with the New Frontend System (NFS) approach.

What is the effect of this change to users?

No user-facing change. Route bindings behave identically when declared in config.

Any background context you can provide?

In NFS, route bindings are resolved from config using the {pluginId}.{routeName} key format (built by collectRouteIds as ${feature.id}.${name}). This replaces the legacy bindRoutes({ bind }) pattern.

Do the docs need to be updated?

No.

Should this change be mentioned in the release notes?

  • A changeset describing the change and affected packages was added. (more info)

gusevda added 2 commits March 26, 2026 16:53
Migrate route bindings to declarative config for NFS compatibility,
removing the imperative bindRoutes callback from createApp.
Route IDs are {pluginId}.{routeName}, not {pluginId}.externalRoutes.{routeName}.
@gusevda gusevda closed this Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant