Extra wrappers and customizers for Routes and Pattern structures.
Extra wrappers and customizers for Routes and Pattern structures.
(parameterize pattern key value)
Wrap pattern
in a ParameterizedPattern record,
which implements the Pattern protocol (match-pattern and generate-pattern-path),
so that the pattern
only matches if the route context (m)
contains the given {key value} pair
Wrap `pattern` in a ParameterizedPattern record, which implements the Pattern protocol (match-pattern and generate-pattern-path), so that the `pattern` only matches if the route context (m) contains the given {key value} pair
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close