packages icon indicating copy to clipboard operation
packages copied to clipboard

[go_router] Add support for Iterable, List and Set to TypedGoRoute

Open Skogsfrae opened this issue 3 years ago • 1 comments

Add support for Iterable, List and Set to TypedGoRoute

Changed signature of GoRouteData.$location for PR #2679 Resolves Issue #108437

Pre-launch Checklist

  • [x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
  • [x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
  • [x] I read and followed the [relevant style guides] and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/packages repo does use dart format.)
  • [x] I signed the [CLA].
  • [x] The title of the PR starts with the name of the package surrounded by square brackets, e.g. [shared_preferences]
  • [x] I listed at least one issue that this PR fixes in the description above.
  • [x] I updated pubspec.yaml with an appropriate new version according to the [pub versioning philosophy], or this PR is [exempt from version changes].
  • [x] I updated CHANGELOG.md to add a description of the change, [following repository CHANGELOG style].
  • [x] I updated/added relevant documentation (doc comments with ///).
  • [x] I added new tests to check the change I am making, or this PR is [test-exempt].
  • [x] All existing and new tests are passing.

Skogsfrae avatar Oct 10 '22 15:10 Skogsfrae

It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact Hixie on the #hackers channel in Chat (don't just cc him here, he won't see it! He's on Discord!).

If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix?

Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing.

flutter-dashboard[bot] avatar Oct 10 '22 15:10 flutter-dashboard[bot]

@chunhtai From triage: ping on this review.

stuartmorgan-g avatar Oct 27 '22 16:10 stuartmorgan-g

Updates: this one is waiting on https://github.com/flutter/packages/pull/2679

chunhtai avatar Oct 27 '22 21:10 chunhtai

Hi @Skogsfrae looks like there are ci failures and merge conflict. can you rebase off the latest main and fix the ci?

chunhtai avatar Dec 01 '22 22:12 chunhtai

Hi @chunhtai I finally managed to make the ci work. I temporarily modified the analysis_options.yaml to skip go_router_builder example app .g.dart files. I'll restore it in the go_router_builder pr after this gets merged

Skogsfrae avatar Dec 07 '22 15:12 Skogsfrae

If someone can please add the override: no changelog needed I'll update the pr to solve the conflicts and the CI could run without the previous changelog problem

Skogsfrae avatar Dec 12 '22 13:12 Skogsfrae

Overriding for go_router_builder; ignores are dev-only changes.

stuartmorgan-g avatar Dec 12 '22 13:12 stuartmorgan-g

@chunhtai this is ready to be merged

Skogsfrae avatar Dec 19 '22 08:12 Skogsfrae

@johnpryan Who should do the second review on this?

stuartmorgan-g avatar Jan 17 '23 21:01 stuartmorgan-g

@chunhtai It looks like you reviewed this before, could you re-review as the second reviewer?

stuartmorgan-g avatar Jan 31 '23 20:01 stuartmorgan-g

@Skogsfrae can you rebase off latest main?

chunhtai avatar Jan 31 '23 22:01 chunhtai

@chunhtai I rebased both this pr and the one on go_router_builder

Skogsfrae avatar Feb 08 '23 08:02 Skogsfrae

@chunhtai I just rebased it again with the last release. Is there something else that needs to be done to merge this PR?

Skogsfrae avatar Feb 14 '23 09:02 Skogsfrae

@chunhtai @stuartmorgan @johnpryan can this PR be merged so I can update the linked one and hopefully have that merged too? I'm keeping this updated with upstream and I'd really like to be able to use this feature with go_router_builder

Thank you guys 🙏🏼

Skogsfrae avatar Feb 16 '23 17:02 Skogsfrae

Based on the last comments from reviewers it looks like this is ready to land and just didn't get the label.

stuartmorgan-g avatar Feb 16 '23 17:02 stuartmorgan-g