First, this is almost certainly my fault but I am scratching my head how to 
proceed.

I am using transit (json) to send messages from the server to the client and it 
is working great except my UUIDs don’t seem to be coming across:

cljs.user=> id
#uuid "9e7200f4-419c-461e-a9e5-f6b07f8dcd8f"
cljs.user=> (type id)
#object[Function "function (high, low) {
   this.high = high;
   this.low = low;
   this.hashCode = -1;
}"]

previously (type id) would return cljs.core/UUID. Transit is working elsewhere 
- it is converting sequences and keywords etc., but every UUID has the above 
type.

If I go to a fig wheel REPL and create a new UUID then it correctly reports the 
type as "cljs.core/UUID".

I have no idea how to proceed or how to interpret the result of (type id).

Any pointers?

Thanks.

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to