eva icon indicating copy to clipboard operation
eva copied to clipboard

Queries using a historic snapshot and in-memory database throws unimplemented method exceptions

Open tylerwilding-wk opened this issue 5 years ago • 0 comments

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)

tylerwilding-wk avatar Jul 15 '19 13:07 tylerwilding-wk