Closed EverybodyKurts closed 2 years ago
Never mind, I overlooked that I can simply omit any sort of parsing method/function. Instead of:
[ "users"; Route.Int userId ] -> Html.h1 (sprintf "User ID %d" userId)
I can simply omit Route.Int
[ "users"; Route.Int userId ] -> Html.h1 $"User ID: {userId}"
I like to use string identifiers in my routes... is there any sort of
Route.String
option I can use?