[Router] Does router supports parameters?
xperiandri opened this issue · 3 comments
xperiandri commented
Like
type Page =
| [<EndPoint "/">] Home
| [<EndPoint "/counter?value={Value}">] Counter of Value: int
| [<EndPoint "/data/{item}">] Data of Guid
Tarmil commented
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 commented
This has now been released in v0.23.
xperiandri commented
Super cool!