threatgrid / asami

A graph store for Clojure and ClojureScript
Eclipse Public License 1.0
634 stars 29 forks source link

Support namespaced `:id` #226

Open zeitstein opened 2 years ago

zeitstein commented 2 years ago

Support :ids like: :person/id and :city/id. Helps with differentiating between 'types' of nodes, just like attributes :person/name and :city/name do.

One idea is to make a rule like: "every attribute ending in /id is treated as :id". (:db/id excepted, I guess.)