eva
eva copied to clipboard
Queries using a historic snapshot and in-memory database throws unimplemented method exceptions
Doing queries with an in-memory database and a historic snapshot has been throwing exceptions.
eva.dev.repl=> (def history-db (eva/history db))
#'eva.dev.repl/history-db
eva.dev.repl=> (eva/q '[:find ?balance
:in $
:where [?e :account/name "Michael Jackson"]
[?e :account/balance ?balance]] history-db)
IllegalArgumentException No implementation of method: :resolve-attribute-strict of protocol: #\'eva.attribute/ResolveAttribute found for class: eva.v2.database.history_snapshot$db_snapshot$reify__33157 clojure.core/-cache-protocol-fn (core_deftype.clj:583)