I think this is the best discussion I've seen on the two UUID types in
Transit https://github.com/cognitect/transit-cljs/pull/10

On Sun, Sep 27, 2015 at 12:14 PM Colin Yates <[email protected]> wrote:

> Yeah, I wondered that too. Given that cljs.core/uuid was already
> established…
>
> I am sure (and hope!) there is a good technical reason.
>
> > On 27 Sep 2015, at 12:13 AM, Jamie Orchard-Hays <[email protected]>
> wrote:
> >
> > Why *does* Transit have another UUID type? I was surprised to see that.
> >
> >
> >> On Sep 26, 2015, at 6:06 PM, Nikita Prokopov <[email protected]>
> wrote:
> >>
> >> Having two UUID types around is not a good idea. Transit shouldn’t have
> its own type, but since it’s there, I recommend re-configure transit reader
> to always read native CLJS UUIDs:
> >>
> >> (defn read-transit-str [s]
> >> (t/read (t/reader :json { :handlers {"u" cljs.core/uuid} }) s))
> >>
> >> You‘ll save yourself A LOT of headache, trust me
> >>
> >> --
> >> 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.
> >
> > --
> > 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.
>
> --
> 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.
>
-- 
Daniel

-- 
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