xvw / quasar

my own standard library for OCaml for Js ecosystem, because it's fun to reinvent the wheel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quasar.ppx.routing

xvw opened this issue · comments

Define a simple way to make routing using hashes

  • match [%quasar.routes] with
  • Fix "()" as an unbound value
  • | [%quasar.route "a-simple-route"]
  • [%quasar.route "a-complexe-route-n-{id:int}-{name:string}"]
  • {int}
  • {float}
  • {char}
  • {bool}
  • {string}
  • route_arguments
  • Implement the function
  • Extract options
  • Typesafe values
  • function for routing