The transit-cljs type table (
https://github.com/cognitect/transit-cljs#default-type-mapping)
specifically states you will get com.cognitect.transit/UUID.

David

On Sun, Sep 27, 2015 at 3:37 AM, Colin Yates <[email protected]> wrote:

> Thanks Daniel.
>
> That thread troubles me greatly - please see
> https://github.com/cognitect/transit-cljs/pull/10#issuecomment-143528738
> for more thoughts.
>
> On Sunday, 27 September 2015 07:27:13 UTC+1, Daniel Compton  wrote:
> > 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.
>

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