I have a previous project using datahike version 0.2.1. In this project when I transact the exact same transaction twice in a row, :tx-data is empty except for the transaction entity the second time around. i.e. It only shows me what has changed as a result of the transaction. This is super useful, as I can use datahike to produce diffs for me of previous vs new DB state!
Now I'm starting a new project using the latest version and this behavior is gone. It shows me all datums every time even when they are noops.
Is this intentional? I really liked the old behavior. :)
What version of Datahike are you using?
0.4.1473
What version of Java are you using?
11.0.12
What operating system are you using?
Linux
What database EDN configuration are you using?
Describe the bug
I have a previous project using datahike version 0.2.1. In this project when I
transact
the exact same transaction twice in a row,:tx-data
is empty except for the transaction entity the second time around. i.e. It only shows me what has changed as a result of the transaction. This is super useful, as I can usedatahike
to produce diffs for me of previous vs new DB state!Now I'm starting a new project using the latest version and this behavior is gone. It shows me all datums every time even when they are noops.
Is this intentional? I really liked the old behavior. :)
Awesome project, BTW!
Example:
0.2.1
0.4.1473
What is the expected behaviour?
Only changed datums shown in :tx-data
How can the behaviour be reproduced?
Transact the same transaction twice and observe datums are same both times