Fork me on GitHub
#reitit
<
2018-03-20
>
ikitommi14:03:35

@malch did a initial PR, deployed in clojars as 0.1.1-SNAPSHOT, done via the Protocol for now:

(r/match-by-name
  (r/router
    ["/olipa/:kerran" ::avaruus])
  ::avaruus
  {:kerran :joskus})
;#Match{:template "/olipa/:kerran",
;       :data {:name :user/avaruus},
;       :result nil,
;       :path-params {:kerran "joskus"},
;       :path "/olipa/joskus"}

ikitommi14:03:37

code is in reitit.impl, might replace that later with the spec/schema version.

malch16:03:04

Great! Sorry, I fell off the grid, working on the rather complex work project right now. Will try to test snapshot in the next couple of days