I’d like to read out all the attributes out an entity. I tried the entity fn, but it threw “lookup ref attribute should be marked as :db/unique”. I’m using schema-on-read.
Hey @post972. This happened because you used a lookup ref, it is not specific for the entity fn. Can you send you code?
How can I read all attributes of an entity?
You could use the pull API, e.g. (d/pull eid [:*]) .
Thanks!