datascript-transit
datascript-transit copied to clipboard
How to extend datascript-transit serialization types?
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?