Skip to content

How to create a custom route that doesn't care of query params #1238

@paztis

Description

@paztis

I've test these 3 ways

"/test1": "/result"
"/test2\\?*": "/result",
"/test3(\?.*)?": "/result"

/test1 works but not /test1?xxxxx
/test2 didn't works but /test2?xxxxx works
/test3 and /test3?xxxxx works together, but it is a mess to write

I don't understand why we're forced to do it, while "/test3/:id": "/result?:id" works in all cases

Any idea ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions