We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
While using the “normal” way of defining services, I got into a wrong argument parsing case.
Starting from a fresh project made with eliom-destillery, and the following modifications:
eliom-destillery
let main_service = Eliom_service.service ~path:[] ~get_params:Eliom_parameter.( sum (set string "strings") (opt (int "left" ** int "right")) ) ()
and
let () = Test_app.register ~service:main_service (fun params () -> Lwt.return (Eliom_tools.F.html ~title:"test" ~css:[["css";"test.css"]] Html5.F.(body [ h2 [pcdata "Welcome from Eliom's destillery!"]; a main_service [pcdata "link1"] (Eliom_parameter.Inj1 ["bouh"; "bah"]); pcdata ", "; a main_service [pcdata "link2"] (Eliom_parameter.Inj2 None); pcdata ", "; a main_service [pcdata "link3"] (Eliom_parameter.Inj2 (Some (42, 42))); ])))
On the generated page the link3 is broken (goes to “Wrong Parameters”).
link3
I'm using Eliom 3.0.3 from Opam (and OCaml 4.01.0).
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
While using the “normal” way of defining services, I got into a wrong argument parsing case.
Starting from a fresh project made with
eliom-destillery
, and the following modifications:and
On the generated page the
link3
is broken (goes to “Wrong Parameters”).I'm using Eliom 3.0.3 from Opam (and OCaml 4.01.0).
The text was updated successfully, but these errors were encountered: