Skip to content
New issue

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

[Router] Does router supports parameters? #309

Closed
xperiandri opened this issue Jun 15, 2023 · 3 comments
Closed

[Router] Does router supports parameters? #309

xperiandri opened this issue Jun 15, 2023 · 3 comments
Labels
enhancement New feature or request

Comments

@xperiandri
Copy link
Contributor

Like

type Page =
    | [<EndPoint "/">] Home
    | [<EndPoint "/counter?value={Value}">] Counter of Value: int
    | [<EndPoint "/data/{item}">] Data of Guid
@Tarmil
Copy link
Member

Tarmil commented Jun 16, 2023

Currently, no. It was initially prevented by limitations in Blazor's NavigationManager. But I see that GetUriWithQueryParameter has since been added, which suggests that this might now be possible.

@Tarmil Tarmil added the enhancement New feature or request label Jun 16, 2023
Tarmil added a commit that referenced this issue Aug 20, 2023
@Tarmil
Copy link
Member

Tarmil commented Nov 6, 2023

This has now been released in v0.23.

@Tarmil Tarmil closed this as completed Nov 6, 2023
@xperiandri
Copy link
Contributor Author

Super cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants