 (s/def ::mutation-tx
   (s/with-gen
     (s/and vector? (s/cat :mutations (s/+ ::mutation) :reads (s/* ::property)))
-    #(tc/fmap vec (s/gen (s/cat :mutations (s/+ ::mutation) :reads (s/* ::property))))))
-
-(s/def ::transation
+    #(gen/fmap vec (s/gen (s/cat :mutations (s/+ ::mutation) :reads (s/* ::property))))))
+
+(s/def ::transaction
   (s/or :query ::query
         :mutation ::mutation-tx))
 


(s/def ::process-reader
  (s/fspec :args (s/cat :reader ::reader)
    :ret ::reader))

(s/def ::error
  (s/spec #?(:clj  #(instance? Throwable %)

  (:require
    [clojure.spec.alpha :as s]
    [clojure.set :as set]
    [clojure.test.check]
    [clojure.test.check.generators :as gen #?@(:cljs [:include-macros true])]
    [clojure.test.check.properties]
    [clojure.walk :as walk]
    [fulcro.client.primitives :as fp]
    #?(:cljs [goog.object :as gobj]))
