                                            {:name "Otis"
                                             :species :pet-species/dog
                                             :description "pug"}]}
-          data-chan (resolve (chan)
-                             {:apis {:get-user
+          data-chan (resolve {:apis {:get-user
                                      (memoize
                                       (fn [params]
                                         (p/do*

       (doto to (put! v) (close!)))))
  to)

(defn resolve [channel env query-or-ast]
  (let [ast (if (vector? query-or-ast)
              (om/query->ast query-or-ast)
              query-or-ast)


   :root/user
   (fn [env ast]
     (resolve (assoc env :user/name (:user/name (:params ast)))
              ast
              (chan)))

   :user/name
   (fn [env ast]
