mirror of
https://github.com/metosin/reitit.git
synced 2026-02-12 14:25:16 +00:00
In ClojureScript, satisfies? is a macro
Thus `partial` can't be used with it.
This commit is contained in:
parent
65886c190f
commit
1a13a24224
1 changed files with 1 additions and 1 deletions
|
|
@ -7,7 +7,7 @@
|
||||||
;; Specs
|
;; Specs
|
||||||
;;
|
;;
|
||||||
|
|
||||||
(s/def ::middleware (s/coll-of (partial satisfies? middleware/IntoMiddleware)))
|
(s/def ::middleware (s/coll-of #(satisfies? middleware/IntoMiddleware %)))
|
||||||
|
|
||||||
(s/def ::data
|
(s/def ::data
|
||||||
(s/keys :req-un [::rs/handler]
|
(s/keys :req-un [::rs/handler]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue