             [clojure.set :as set]
             [io.aviso.tracker :as t]
             [io.aviso.rook.internals :as internals]
-            [io.aviso.rook.schema-validation :as sv]
             [clojure.string :as str]))
 
 (def ^:private default-mappings

                                              apply-middleware-async
                                              apply-middleware-sync)

                           {:keys [middleware-sym route-params non-route-params
                                   verb-fn-sym arglist arg-resolvers schema sync?
                                   metadata context]}
                           (get handlers handler-sym)


                               (filter keyword? pathvec))
            context (:context (meta pathvec))
            arglist (first (:arglists metadata))
            arg-resolvers (merge
                            extra-arg-resolvers
                            (binding [*ns* ns]
                              (eval (:arg-resolvers metadata))))
            handler (cond->
                      {:middleware-sym   mw-sym
                       :route-params     route-params
                       :verb-fn-sym      verb-fn-sym
                       :arglist          arglist
                       :arg-resolvers    arg-resolvers
                       :sync?            sync?
                       :metadata         metadata}
                      context
