                          aliasing/read))}))
 
 (def resolvers
-  {:root/user
+  {'do/something
+   (fn [context ast]
+     (let [do-something (get-in context [:apis :do-something])]
+       (do-something (:params ast))))
+
+   :root/user
    (fn [context ast]
      (resolve* (assoc context
                       :channel (chan)

      (take!
       (async/into #{} data-chan)
       (fn [v]
         (is (= #{{:root/user {:user/name "nipponfarm"}}
                  {:root/user {:user/favorite-color :color/blue}}
                  {:root/user {:user/favorite-number 42}}
                  {:root/user {:user/vehicle {:vehicle/make "Toyota"

                                            :species :pet-species/dog
                                            :description "pug"}]}
          data-chan (resolve {:channel (chan)
                              :apis {:get-user
                                     (memoize
                                      (fn [params]
                                        (p/do*
                                         (swap! api-calls conj [:get-user params])
                                         (get users params))))

                                     :get-user-pets
                                     (memoize
                                      (fn [params]
                                        (p/do*
                                         (swap! api-calls conj [:get-user-pets params])
                                         (get user-pets params))))

                                     :do-something
                                     (fn [params]
                                       (p/do*
                                        (swap! api-calls conj [:do-something params])
                                        "Did something."))}}
                             resolvers '[(do/something {:very "important"})
                                         {(:root/user {:user/name "nipponfarm"})
                                          [:user/name
                                           :user/favorite-color
                                           :user/favorite-number
