                              (get options :context [])
                              (merge-arg-resolver-maps default-arg-resolvers (get options :arg-resolvers))
                              (get options :default-middleware default-namespace-middleware))
+                           expand-namespace-metadata
                            (construct-routing-table
                              (if async?
                                (get options :sync-wrapper default-sync-wrapper)

                         (reduce conj! $ nested'))
                   (rest remaining)))))))



(defn- construct-namespace-table-entry
  [sync-wrapper container-context ns-sym arg-resolvers middleware ns-metadata fn-name fn-var]

  "Invoked from [[namespace-handler]] to construct a Ring request handler for the provided
  options and namespace specifications.

  Returns a tuple of the constructed handler and the routing table (the flattened
  version of the namespace specifications)."
  {:added "0.1.20"}
