Skip to content

feat: Support GoRouter Action #402

Description

@Kapo1123

Description

Currently, we could navigate pages through asset path and route name but does not support GoRouter. SInce GoRouter is growing fast, it would be nice to support it as well.

Requirements

Add a new action type (e.g., go_router_navigate) or update the existing Maps action to support GoRouter methods.

Support passing pathParameters and queryParameters.

Support both context.go() (replace stack) and context.push() (add to stack).

{
"actionType": "navigate",
"navigationType": "go", // or "push"
"route": "/product/:id",
"pathParameters": {
"id": "123"
},
"queryParameters": {
"ref": "promo_code"
}
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions