Open theronic opened 5 years ago
When I try to write a cljs-time object, I get "Error: Cannot write". E.g.
[#datascript/Datom [15 :message/thread 14 536870921 true] #datascript/Datom [15 :message/timestamp #object[Object 20190929T091725] 536870921 true] #datascript/Datom [15 :message/text "arstarst" 536870921 true]]
How can I extend de-/serialization capabilities of datascript-transit to work with more types?
Add transit handlers for cljs-time objects?
When I try to write a cljs-time object, I get "Error: Cannot write". E.g.
[#datascript/Datom [15 :message/thread 14 536870921 true] #datascript/Datom [15 :message/timestamp #object[Object 20190929T091725] 536870921 true] #datascript/Datom [15 :message/text "arstarst" 536870921 true]]
How can I extend de-/serialization capabilities of datascript-transit to work with more types?