 
 (>defn resolver-node-requires-attribute?
   [{::keys [requires sym]} attribute]
-  [(s/keys) :com.wsscode.pathom.connect/attribute => boolean?]
+  [::node :com.wsscode.pathom.connect/attribute => boolean?]
   (boolean (and sym (contains? requires attribute))))
 
 (>defn find-attribute-resolver-in-successors

  "The chain depth relative to the current node."
  nat-int?)

(>def ::nodes
  "The nodes index."
  (s/map-of ::node-id (s/keys)))

(>def ::node-trace
  "Contains a vector of trace events related to a specific node."


  Note that in case of repeated events, only the last one will be kept."
  [{::keys [node-trace] :as node}]
  [(s/keys :opt [::node-trace]) => ::node]
  (into
    node
    (map (juxt ::pt/event identity))
