parent
dd0471ee29
commit
72b2889f94
|
@ -91,7 +91,7 @@
|
||||||
|
|
||||||
;; -- Middleware Factories ----------------------------------------------------
|
;; -- Middleware Factories ----------------------------------------------------
|
||||||
;;
|
;;
|
||||||
;; Note: wierd approach defn-ing middleware factories below. Why? Because
|
;; Note: weird approach defn-ing middleware factories below. Why? Because
|
||||||
;; I wanted to put some metadata on them (useful for later checking).
|
;; I wanted to put some metadata on them (useful for later checking).
|
||||||
;; Found I had to do it this way:
|
;; Found I had to do it this way:
|
||||||
;; (def fn-name
|
;; (def fn-name
|
||||||
|
@ -99,7 +99,7 @@
|
||||||
;; ^{....} ;; middleware put on the following fn
|
;; ^{....} ;; middleware put on the following fn
|
||||||
;; (fn fn-name ....))
|
;; (fn fn-name ....))
|
||||||
;;
|
;;
|
||||||
;; So, yeah, wierd.
|
;; So, yeah, weird.
|
||||||
|
|
||||||
(def path
|
(def path
|
||||||
"A middleware factory which supplies a sub-tree of `db` to the handler.
|
"A middleware factory which supplies a sub-tree of `db` to the handler.
|
||||||
|
|
Loading…
Reference in New Issue