            ::provides provides
            ::run-and  [(::root out)]})))))
 
-(defn create-sym-node
+(defn create-resolver-node
+  "Create a new node representative to run a given resolver."
   [out
    {::keys                           [run-next provides input]
     :com.wsscode.pathom.connect/keys [attribute sym index-resolvers]

            (dissoc out ::root)
            (-> env
                (dissoc pc-attr)
                (update ::run-next-stack p.misc/sconj (::root out))
                (update ::attr-deps-stack p.misc/sconj (pc-attr env))
                (assoc ast-node (eql/query->ast (vec missing))
                  ::run-next (::root out)
                  ::provides (::provides root-node))))]

         ::provides (-> out get-root-node ::provides)
         ::run-or   [(::root out)]}))))

(defn compute-root-and
  [out env node]
  (if (= (::root out) (::node-id node))
    out
    (compute-root-branch out (assoc env ::branch-type ::run-and) node
