(dissoc-when pred m)
Dissoc those keys from m whose values in m satisfy pred.
Dissoc those keys from m whose values in m satisfy pred.
Expand into additional nodes which reflect constraints
and apply
them to specs.
Expand into additional nodes which reflect `constraints` and apply them to specs.
(expand-verb-action expandable-verb-action)
Expand expandable-verb-action
into a verbose-form verb-map.
Expand `expandable-verb-action` into a verbose-form verb-map.
(flatten-terse-app-routes route-spec)
Return a vector of maps that are equivalent to the terse routing syntax, but expanded for consumption by the verbose route parser.
Return a vector of maps that are equivalent to the terse routing syntax, but expanded for consumption by the verbose route parser.
(map-routes->vec-routes route-map)
Given a map-based route description,
return Pedestal's terse, vector-based routes, with interceptors correctly setup.
These generated routes can be consumed by expand-routes
Given a map-based route description, return Pedestal's terse, vector-based routes, with interceptors correctly setup. These generated routes can be consumed by `expand-routes`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close