We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is not the first issue I'm writing in this repository. I'm having another error (latest version, but also in v8). Having these routes:
AdaptiveRoute(page: BusinessRoute.page, path: "/:businessCustomId", children: [ AdaptiveRoute(page: FinishOrderingRoute.page, path: "new-order"), ]),
If I'm in the /:businessCustomId path, doing:
/:businessCustomId
context.navigateTo(const FinishOrderingRoute())
Throws:
DartError: Missing or invalid required parameter Failed to parse [String] businessCustomId value from null dart-sdk/lib/_internal/js_dev_runtime/private/ddc_runtime/errors.dart 296:3 throw_ packages/auto_route/src/common/parameters.dart 61:7 getString packages/cercanni_customers/ui/router/router.gr.dart 75:43 <fn> packages/auto_route/src/route/route_data.dart 101:22 argsAs packages/cercanni_customers/ui/router/router.gr.dart 73:24 <fn> packages/auto_route/src/route/auto_route_config.dart 92:21 buildPage packages/auto_route/src/matcher/route_match.dart 91:60 buildPage packages/auto_route/src/route/route_data.dart 191:19 buildPage packages/auto_route/src/router/controller/routing_controller.dart 1586:22 [_addEntry] packages/auto_route/src/router/controller/routing_controller.dart 1561:29 _pushAllGuarded dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 45:50 <fn> dart-sdk/lib/async/zone.dart 1661:54 runUnary dart-sdk/lib/async/future_impl.dart 163:18 handleValue dart-sdk/lib/async/future_impl.dart 847:44 handleValueCallback dart-sdk/lib/async/future_impl.dart 876:13 _propagateToListeners dart-sdk/lib/async/future_impl.dart 472:9 callback dart-sdk/lib/async/schedule_microtask.dart 40:11 _microtaskLoop dart-sdk/lib/async/schedule_microtask.dart 49:5 _startMicrotaskLoop dart-sdk/lib/_internal/js_dev_runtime/patch/async_patch.dart 181:7 <fn>
Tried using pushRoute, navigateToNamed.
pushRoute
navigateToNamed
Doing:
context.navigateTo(BusinessRoute( businessCustomId: business.customId, children: [const FinishOrderingRoute()], ))
Just changes the route in the URL bar of the browser but the page is not changed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is not the first issue I'm writing in this repository. I'm having another error (latest version, but also in v8).
Having these routes:
If I'm in the
/:businessCustomId
path, doing:Throws:
Tried using
pushRoute
,navigateToNamed
.Doing:
Just changes the route in the URL bar of the browser but the page is not changed.
The text was updated successfully, but these errors were encountered: