Re: Plumatic Schema error in CLJS

2018-11-04 Thread Alan Thompson
OK, I found the cause of the error. In a dependent namespace, I had defined some schemas: (ns tupelo.schema "Prismatic Schema type definitions" (:require [schema.core :as s]) #?(:clj (:import [java.util HashSet] )) #?(:clj (:gen-class))) (def Set "Either a Clojure hash-set or a java.ut

Plumatic Schema error in CLJS

2018-11-04 Thread Alan Thompson
I am seeing the following errors in CLJS, but not in CLJ: ERROR in (dotest-line-695) (schema/core.js:33:64) expected: (clojure.core/= (t/thru 9) (t/glue-rows data)) actual: #object[Error Error: No protocol method Schema.spec defined for type undefined: ] The errors disappear if I remove Plumat