mirror of
https://github.com/metosin/reitit.git
synced 2026-01-03 15:08:25 +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
|
||||
;;
|
||||
|
||||
(s/def ::middleware (s/coll-of (partial satisfies? middleware/IntoMiddleware)))
|
||||
(s/def ::middleware (s/coll-of #(satisfies? middleware/IntoMiddleware %)))
|
||||
|
||||
(s/def ::data
|
||||
(s/keys :req-un [::rs/handler]
|
||||
|
|
|
|||
Loading…
Reference in a new issue