Skip to content

QueryParamsHandling documentation #17778

Closed

Description

@chriscurnow

I'm submitting a

Documentation Issue or request.

Current behavior

There is no useful documentation for queryParamsHandling. There is a single line use case under NavigationExtras but this gives no detail regarding the parameters available to use. As far as I can tell there is no other reference to this in the documentation. A query for "queryParamsHandling" at the top level of the angular documentation yields nil results.

Expected behavior

  1. This option should be documented.
  2. I should be able to find references to this option by searching in the documentation.

Activity

  1. chriscurnow commented on Jun 27, 2017

    @chriscurnow
    Author

    There is mention of preserveQueryParameters in the Routing and Navigation but this parameter is deprecated in favour of queryParamsHandling

  2. dgroh commented on Jul 5, 2017

    @dgroh

    What are the other options for queryParamsHandling but merge?

  3. self-assigned this
    on Jul 18, 2017
  4. sfdeloach commented on Jul 18, 2017

    @sfdeloach

    Another option for queryParamsHandling is 'preserve', which I believe is similar to the deprecated preserveQueryParams being set to true.

  5. added this to the needsTriage milestone on Feb 28, 2018
  6. modified the milestones: needsTriage, Backlog on May 4, 2018
  7. brandonroberts commented on Nov 15, 2018

    @brandonroberts
    Contributor

    Fixed via #20023

  8. cWillow commented on Feb 22, 2019

    @cWillow

    I don't think this is complete. There is information in the Router Link description but shouldn't this info also be in the queryParamsHandling description, or at least a link to it?

  9. lucashfreitas commented on Apr 2, 2019

    @lucashfreitas

    +1. I was just reading the documentation and it does not have enough information about all the available options for queryParamsHandling. The documentation only has one example using 'merge' option but nothing about others options and side effects.

    Here's the documentation link

  10. lucashfreitas commented on Apr 2, 2019

    @lucashfreitas

    @brandonroberts , the official documentation seems to still be incomplete. Can we help with anything to update it? :) https://angular.io/api/router/NavigationExtras#preserveQueryParams

  11. angular-automatic-lock-bot commented on Sep 14, 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.

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions