Skip to content

Commit fa7cdfa

Browse files
authored
[go_router] Add support for Iterable, List and Set to TypedGoRoute (flutter#2698)
* fixes flutter#108437 support for iterable, list and set in for TypedGoRoute * temporary fix for analyzer ci, will be fixed in go_router_builder code generator * Revert "temporary fix for analyzer ci, will be fixed in go_router_builder code generator" This reverts commit 6ae5026c0df976c6003b1e4aee10ed95c6601783. * added temporary ignore directive * Revert "added temporary ignore directive" This reverts commit 48bdeb5abba23847e90ec0ba3c788b279e87eddb. * fix merge conflict and temoporary remove go_router_builder/example analysis checks * fix temoporary go_router_builder/example analysis checks and restored global analysis * fix ci * version
1 parent 81cbd4c commit fa7cdfa

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/go_router/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 6.0.8
2+
3+
* Adds support for Iterables, Lists and Sets in query params for TypedGoRoute. [#108437](https://github.com/flutter/flutter/issues/108437).
4+
15
## 6.0.7
26

37
- Add observers parameter to the ShellRoute that will be passed to the nested Navigator.

packages/go_router/lib/src/route_data.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ abstract class GoRouteData {
5959
/// A helper function used by generated code.
6060
///
6161
/// Should not be used directly.
62-
static String $location(String path, {Map<String, String>? queryParams}) =>
62+
static String $location(String path, {Map<String, dynamic>? queryParams}) =>
6363
Uri.parse(path)
6464
.replace(
6565
queryParameters:

packages/go_router/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: go_router
22
description: A declarative router for Flutter based on Navigation 2 supporting
33
deep linking, data-driven routes and more
4-
version: 6.0.7
4+
version: 6.0.8
55
repository: https://github.com/flutter/packages/tree/main/packages/go_router
66
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+go_router%22
77

0 commit comments

Comments
 (0)