domino-clj / domino

A Clojure/Script data flow engine
https://domino-clj.github.io/
Eclipse Public License 1.0
177 stars 9 forks source link

trigger effects fails with complex models #14

Closed fnumatic closed 4 years ago

fnumatic commented 4 years ago

Trigger effects works for simple flat models like:

{ :model  [[:n {:id :n}]
           [:m {:id :m}]]}

But does not work for nested models like this:

{:model   [:foo
             [:o {:id :o}]
             [:p {:id :p}]]}

Btw. trigger events should have the same problem.

PR follows

nikolap commented 4 years ago

Merged into dev, thanks for the PR

yogthos commented 4 years ago

just released 0.3.0 with the fix