I created a function called bring-back-consistent-database but maybe this is a bug in datascript or a misuse of ds/conn-from-datoms. I was discussing it in #datascript slack channel and two options need further investigation:
[ ] If I have the right schema when I load the datoms, it should all be fine. Because the schema dictates how the new ds database will be formed.
[ ] Might be a real bug, but we don't know the true intention of ds/conn-from-datoms right yet. Maybe another approach if more adequate to accomplish what I need
I created a function called
bring-back-consistent-database
but maybe this is a bug in datascript or a misuse ofds/conn-from-datoms
. I was discussing it in #datascript slack channel and two options need further investigation:ds/conn-from-datoms
right yet. Maybe another approach if more adequate to accomplish what I need