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

Routing: System type not supported for inferred router: UInt64 #911

AlexPeret opened this Issue Feb 17, 2018 · 1 comment


None yet
2 participants
Copy link

commented Feb 17, 2018


after upgrading to build v4.1.6.207, the Endpoint below is throwing an exception:

type EndPoint =
    | [<EndPoint "/">] Home
    | [<EndPoint "/about">] About
    | [<EndPoint "/info">] Info of country:string * city:string * cid:uint64

Application.MultiPage fails to handle it:

module Site =
    let Main =
        Application.MultiPage (fun ctx endpoint ->
            match endpoint with
            | EndPoint.Home -> HomePage ctx
            | EndPoint.About -> AboutPage ctx
            | Info (country,city,cId) -> 
                Templating.Main ctx endpoint "Info" [
                    h1 [text "Information" ]
                    p [ text <| sprintf "country:%s - city:%s - id:%i" country city cId ]

Probably, it is similar to this one: #327


@Jand42 Jand42 self-assigned this Feb 19, 2018


This comment has been minimized.

Copy link

commented Feb 19, 2018

Thanks for the report, this was an oversight, sorry. Fix coming soon.

@Jand42 Jand42 closed this in cc3678d Feb 19, 2018

@Jand42 Jand42 added the label Feb 20, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.