denistakeda / posh

A luxuriously simple and powerful way to make front-ends with DataScript and Reagent in Clojure.
Eclipse Public License 1.0
114 stars 9 forks source link

Fix reverse component relations #11

Closed ikitommi closed 3 years ago

ikitommi commented 3 years ago

Before the fix, the component-type reverse lookups were not registered. Fixes that and ensuring that also :datoms are accumulated correctly in all cases over different relations: :one, :one + :isComponent + :many both ways. Also ensured that no duplicate :datoms or :patterns are collected.

Bonus: deps.edn so we can depend on the lib directly with deps..

denistakeda commented 3 years ago

Great job @ikitommi