-
-
Save anonymous/282abf8448e5f1cca608 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(deftest test-automatic-data-readers | |
(is (= (dc/datom 1 :foo "bar" 1) #datascript/Datom [1 :foo "bar" 1])) | |
(is (= (dc/empty-db) #datascript/DB {:schema nil, :datoms nil})) | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Caused by: clojure.lang.ExceptionInfo: No reader function for tag Datom {:type :reader-exception, :line 45, :column 53, :file "/.../src/datascript-virgin/test/datascript/test/serialization.cljc"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{datascript/Datom datascript.core/datom-from-reader | |
datascript/DB datascript.core/db-from-reader} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment