Welcome! Please see the About page for a little more info on how this works.

0 votes
ago in On-Prem by
(def edward 694891374557546)
(def db2 (:db-after (d/with test/datomic-db [[:db/add edward :google/display-name "a"]])))
  (= (d/entity test/datomic-db edward)
     (d/entity db2 edward))
  ; true

This breaks reactive programming semantics where, when db updates, (d/entity db x) updates but the result is = to the prior result and therefore continuous time reactive engines will skip downstream computation, reusing a buffered prior instance of the entity that is inconsistent with the latest db.

Please log in or register to answer this question.

Welcome to the Datomic Knowledgebase, where you can make features requests, ask questions and receive answers from other members of the community.