This is not what we want. We would like the values at :db/valueType and :db/cardinality to be maps that have at least the keys :db/id but also :db/ident, because that is what Datomic would return.
What is the expected behaviour?
We want result to be something like the following (apart from possibly different values at the :db/id keys):
What version of Datahike are you using?
0.6.1659
What version of Java are you using?
openjdk version "20.0.1" 2023-04-18
What operating system are you using?
Ubuntu 22
What database EDN configuration are you using?
Describe the bug
I added the following code to
datahike.test.attribute-refs.query-pull-test
:When I run this code, the
result
gets bound to the following value:This is not what we want. We would like the values at
:db/valueType
and:db/cardinality
to be maps that have at least the keys:db/id
but also:db/ident
, because that is what Datomic would return.What is the expected behaviour?
We want
result
to be something like the following (apart from possibly different values at the:db/id
keys):How can the behaviour be reproduced?
Add the following unit test to the namespace
datahike.test.attribute-refs.query-pull-test
:Currently, this unit test would fail against the main branch. If we fix the problem, it is going to succeed.