Skip to content

feat(router): deep-linking #2642

Closed

Description

@btford
  • router.generate takes an array like ['/foo', { id: 3 }, 'bar', {post: 4}] and returns a URL.
    • for now, each URL must start with ./ (child), / (root), or .. (parent) – later we can implement a sane default behavior for segments with no prefix
  • router-link directive uses router.generate API
  • Exception thrown when route not found (see Router: Not specifying '@RouteConfig' on the root component throws a cryptic NPE #2323)
  • Ability to link to route params for the current route without affecting children: [router-link] = "[{ order: 'asc' }]"

Activity

  1. added this to the alpha-29 milestone on Jun 19, 2015
  2. assigned and unassigned on Jun 20, 2015
  3. btford commented on Jun 20, 2015

    @btford
    ContributorAuthor

    JK, this is what I'll work on next week.

  4. added 4 commits that reference this issue on Jun 30, 2015
    f4b5011
    dafa4ea
  5. modified the milestones: alpha-30, alpha-29 on Jun 30, 2015
  6. naomiblack commented on Jun 30, 2015

    @naomiblack
    Contributor

    This should be landing by July 1 -- just missed the alpha-29 cutoff. Igor and Brian were pairing on this today.

  7. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  8. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

effort2: daysfeatureLabel used to distinguish feature request from other issues

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions