         fragments (:fragments document)]
     (if (empty? operation-definitions)
       (throw (ex-info (format "Document is invalid (%s)." document) {}))
-      {:data (into {} (log/spy (map (fn [definition]
-                                      (execute-definition context schema resolver-fn definition fragments))
-                                    operation-definitions)))})))
+      {:data (into {} (map (fn [definition]
+                             (execute-definition context schema resolver-fn definition fragments))
+                           operation-definitions))})))
 
 (comment
   (execute nil (parser/transform (parser/parse "query {user {id}}")) (graphql-clj.type/create-type-meta-fn graphql-clj.type/demo-schema))

        resolve-fn (resolver-fn parent-type-name field-name)]
    (log/debug "resolve-field-on-object: arguments: " arguments)
    (if arguments
      (log/spy (resolve-fn context parent-object arguments))
      (log/spy (resolve-fn context parent-object)))))

(defn merge-selection-sets
  [selections]

  [selection-set fragments]
  (log/debug "collect-fields: selection-set" selection-set)
  (log/debug "collect-fields: fragments: " fragments)
  (reduce (collect-selection-fn fragments) [] selection-set))

(comment ; Type kind
  :SCALAR
