   (:require [clojure.core.match :refer [match]]
             [clojure.string :as string]
             [clojure.pprint :as pp]
+            [io.aviso.rook :as rook]
+            [io.aviso.rook.async :as async]
             [io.aviso.rook.internals :as internals]
-            [io.aviso.rook :as rook]
             [io.aviso.rook.schema-validation :as sv]))
 
 (def ^:private default-mappings

                  (-> ~request-sym :rook :arg-resolvers)))])
    arglist))

(defn compile-dispatch-table
  "Compiles the dispatch table into a Ring handler.


                                                   route-params
                                                   non-route-params)]
                                           (~verb-fn-sym ~@arglist)))]
                          ((~apply-middleware ~middleware ~sync? handler#)
                           (assoc ~req
                             :route-params route-params#)))]))
                  dt)
