datascript

Immutable database and Datalog query engine for Clojure, ClojureScript and JS
Aron 2020-04-13T08:26:20.017400Z

I remember getting similar messages back in 2015 when I used datascript.

Aron 2020-04-13T08:26:50.017900Z

I think it might be schema conflicting with the object you are passing in? That's a very vague guess.

hindol 2020-04-13T08:31:45.018700Z

The error fixed itself, by that I mean I don't have the slightest idea what changed and how it got fixed, šŸ˜›

Aron 2020-04-13T08:51:24.019Z

I know the feeling all too well šŸ˜ž

lilactown 2020-04-13T15:11:10.019500Z

if/when you remember, feel free to open up an issue or PR here: https://github.com/Lokeh/datascript-notes

lilactown 2020-04-13T15:11:28.020Z

iā€™m collecting these oft-forgotten tidbits of info

hindol 2020-04-13T17:06:05.022Z

One issue I faced is DS does not validate the schema itself. I mistyped :db/valueType as :db/value but it did not complain.

2020-04-13T18:57:16.023600Z

Schema's are open, meaning you can extend them with other metadata about your attributes (both in Datomic & in DataScript).