Closed danielcompton closed 2 years ago
Another problem and fix.
com.cognitect.transit.types/UUID
are equivalent of UUID
.
But cljs.core/uuid?
not work with com.cognitect.transit.types/UUID
.
Fix:
(ns some.namespace
(:require [com.cognitect.transit.types :as ty]))
(extend-type ty/UUID
IUUID)
Fixed in master.
In the past people have been confused using UUID's in Transit. Transit-cljs uses a custom cct UUID type, not a native CLJS UUID. It would be good to explicitly point this out in the documentation and show how people can override this behaviour if they want to get CLJS UUID's.
This could be something like:
Relates to #11