X Tutup
Skip to content

Router: Erroneously recognizes non-parameter URLs #5848

@matanlurey

Description

@matanlurey
@RouteConfig(const [
  const Route(
      name: 'Planning',
      path: 'planning',
      component: PlanningComponent),
  const Route(
      name: 'Company',
      // This 'details/' is required, otherwise there are conflicts between the
      // routes as 'all' and 'planning' are interpreted as companyId's.
      path: 'details/:companyId/...',
      component: CompanyComponent)
])

Ideally I'd like to remove details/ from the URL. Right now though planning is interpreted as a :companyId and fails, requiring me to add a prefix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    X Tutup