Skip to content

[go_router] Added missing implementation for the routerNeglect parameter in GoRouter - #7752

Merged
auto-submit[bot] merged 5 commits into
flutter:mainfrom
tolo:router_neglect_fix
Oct 4, 2024
Merged

auto-submit[bot] merged 5 commits into
flutter:mainfrom
tolo:router_neglect_fix

Conversation

@tolo

@tolo tolo commented Oct 1, 2024

Copy link
Copy Markdown
Contributor

The GoRouter constructor parameter routerNeglect currently has no effect. This PR provides an implementation for this parameter, in line with the original implementation, i.e. "This will suppress history for all navigation made using go_router".

List which issues are fixed by this PR. You must list at least one issue.

Pre-launch Checklist

If you need help, consider asking for advice on the #hackers-new channel on [Discord].

Comment thread packages/go_router/lib/src/information_provider.dart Outdated
@tolo
tolo requested a review from chunhtai October 3, 2024 20:18

@chunhtai chunhtai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a request to add some doc around this parameter, otherwise LGTM

Comment thread packages/go_router/lib/src/builder.dart
@tolo
tolo requested a review from chunhtai October 3, 2024 20:51
@chunhtai

chunhtai commented Oct 3, 2024

Copy link
Copy Markdown
Contributor

wonderful thank you

@chunhtai chunhtai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

still LGTM

@chunhtai chunhtai added the autosubmit Merge PR when tree becomes green via auto submit App label Oct 4, 2024
@auto-submit
auto-submit Bot merged commit f142461 into flutter:main Oct 4, 2024
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Oct 7, 2024
auto-submit Bot pushed a commit to flutter/flutter that referenced this pull request Oct 7, 2024
flutter/packages@05bf1d4...bb00d34

2024-10-07 [email protected] [google_sign_in] Update Pigeon for non-nullable generics (flutter/packages#7785)
2024-10-07 [email protected] [path_provider] Update Android Pigeon for non-nullable generics  (flutter/packages#7783)
2024-10-07 [email protected] [rfw] Increase tolerance for material widget tests (flutter/packages#7148)
2024-10-05 [email protected] [various] Update Java compatibility version to 11 (flutter/packages#7795)
2024-10-04 [email protected] [video_player] Update Pigeon for non-nullable generics (flutter/packages#7790)
2024-10-04 [email protected] [go_router] Added missing implementation for the routerNeglect parameter in GoRouter (flutter/packages#7752)
2024-10-04 [email protected] [google_maps_flutter_platform_interface] Convert `BitmapDescriptor` to typesafe subclasses (flutter/packages#7699)
2024-10-04 [email protected] [google_maps_flutter_platform_interface] Convert `PatternItem` and `Cap` to typesafe structures. (flutter/packages#7703)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
creatorpiyush pushed a commit to creatorpiyush/packages that referenced this pull request Jun 10, 2026
…ter in GoRouter (flutter#7752)

The `GoRouter` constructor parameter `routerNeglect` currently has no effect. This PR provides an implementation for this parameter, in line with the original implementation, i.e. _"This will suppress history for all navigation made using go_router"_.

*List which issues are fixed by this PR. You must list at least one issue.*
* flutter/flutter#119398
bisor0627 pushed a commit to bisor0627/packages that referenced this pull request Jun 19, 2026
…ter in GoRouter (flutter#7752)

The `GoRouter` constructor parameter `routerNeglect` currently has no effect. This PR provides an implementation for this parameter, in line with the original implementation, i.e. _"This will suppress history for all navigation made using go_router"_.

*List which issues are fixed by this PR. You must list at least one issue.*
* flutter/flutter#119398
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App p: go_router

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants