fsbolero/Bolero

[Router] Does router supports parameters?

xperiandri opened this issue · 3 comments

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.

This has now been released in v0.23.

Super cool!