tonsky / datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
Eclipse Public License 1.0
5.45k stars 304 forks source link

[clj] serialize bigdecs as other type, for cross-platform compatibility. #465

Closed aiba closed 4 months ago

aiba commented 4 months ago

This is required if you have a server (clj) serialized datascript DB that is deserialized by a client (cljs). Since cljs does not have a notion of bigdec, it has to be handled specially be the thaw-fn. Fixes #466

tonsky commented 4 months ago

Thanks! Done