[:db/id] pull pattern failing

I think this has only started since upgrading to 0.8.81. It definitely worked at one point previously.

I used to be able to pull just the :db/id, e.g. to find the id from my own :db/unique attribute:

(db/pull db [:db/id] [:foo/id my-id])

That now fails with

com.google.common.util.concurrent.UncheckedExecutionException: Syntax error compiling

As a workaround I can just use [*]. Is such a pattern not allowed, or is this a bug?

Tom

I’m unable to reproduce this behavior.
I can run:

(d/pull (d/db conn) [:db/id] [:release/gid #uuid "67bbc160-ac45-4caf-baae-a7e9f5180429"])

Against the mbrainz sample database and I don’t get an exception.
What version of Datomic (cloud or onprem) are you using?

-Marshall

I have these datomic deps,

[com.datomic/datomic-free "0.9.5697"]
[com.datomic/client "0.8.81"]
[com.datomic/client-cloud "0.8.78"]

I’m also using datomic-client-memdb [1] to use the client API locally

[1] https://github.com/ComputeSoftware/datomic-client-memdb