ok, another dumb question
how do I transact something with a lookup ref?
given this schema:
(def ^:private schema
{::node-id {:db/unique :db.unique/identity}})
doing this:
(ds/db-with (ds/empty-db schema)
[{::node-id "root"}
{::node-id "seg-asdf"
::node-type ::segment/v3
::parent [::node-id "root"]}])
just seems to store [::node-id "root"]
literally in the ::parent
attribute of the 2nd entity, rather than storing an entity-idah ok, I needed to add {:db/valueType :db.type/ref}
to the schema for ::parent