tonsky / datascript

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

Add :db/ref support #5

Closed swannodette closed 10 years ago

swannodette commented 10 years ago

datascript/entity cannot pull in related entities because DataScript does not support :db/valueType of :db.type/ref in the schema.

swannodette commented 10 years ago

This can be resolved by https://github.com/tonsky/datascript/pull/4

tonsky commented 10 years ago

DataScript 0.3.0 now has lazy entities type & supports :db.type/ref auto-wrapping into entities